Skip to content

#cd64f3

a light, electric violet · cool · closest name: Medium Orchid

RGB
205, 100, 243
HSL
284°, 86%, 67%
CMYK
16, 59, 0, 5
Luminance
0.2856

At a glance

Every number on this page in one read: what #cd64f3 is made of, how bright it looks, and which way it leans.

Hex
#cd64f3
Hue
284°
violet
Saturation
86%
electric
Lightness
67%
light
Brightness
95%
HSV value
Perceived
62%
weighted brightness
Luminance
0.2856
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.71:1
Closest name
Medium Orchid
ΔE2000 6.6
Where it sits
Hue284° of 360°
Saturation86%
Lightness67%
Temperature
Warm ← → Cool59% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#cd64f3
RGBrgb(205, 100, 243)
HSLhsl(284, 86%, 67%)
CMYKcmyk(16%, 59%, 0%, 5%)
LABlab(60.4 63.0 -54.5)
LCHlch(60.4 83.3 319.1)
OKLCHoklch(0.685 0.220 316.1)
Decimal13460723
Display P3color(display-p3 0.804 0.392 0.953)

Copy-ready code

/* CSS */
color: #cd64f3;
background-color: #cd64f3;
/* Tailwind (arbitrary) */
class="text-[#cd64f3] bg-[#cd64f3]"
/* SCSS */
$brand: #cd64f3;
/* SwiftUI */
Color(red: 0.804, green: 0.392, blue: 0.953)
/* Android */
Color.parseColor("#cd64f3")
/* Flutter */
Color(0xFFCD64F3)
/* Python / OpenCV (BGR) */
(243, 100, 205)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #cd64f3 · 6.71:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.13:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.71:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cd64f3 as text scores 3.13:1 on white and 6.71:1 on black.

Accessibility — WCAG contrast

Aa
#cd64f3 on white: 3.13:1
AA ✗ fail · AA-large · AAA
Aa
#cd64f3 on black: 6.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3B8BF7
deuteranopia · #6595EF
tritanopia · #CB7CA2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cd64f3 is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FAF2FD
#F5E5FA
#EAC5F7
#DD97F7
#cd64f3
#BC2FEF
#AC12E3
#8F0FBD
#720C97
#540D6D
#340844
Base = 400Lightest = 50 · #FAF2FDDarkest = 950 · #340844
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F5E5FA;
  --brand-200: #EAC5F7;
  --brand-300: #DD97F7;
  --brand-400: #cd64f3;
  --brand-500: #BC2FEF;
  --brand-600: #AC12E3;
  --brand-700: #8F0FBD;
  --brand-800: #720C97;
  --brand-900: #540D6D;
  --brand-950: #340844;
  --brand: #cd64f3;
  --brand-ink: #000000;
}

Colors that work with #cd64f3

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F9F4FA
Tinted page background
Border#E1C0ED
Hairlines and dividers
Muted text#864B9B
Captions on the surface
Accent#69C10B
Second voice, not a rival
Dark variant#590976
Hover, pressed, headers
Light variant#F7E7FD
Selected rows, tints
Dark surface#201424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #cd64f3

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#8AF364
Analogous left#8664F3
Analogous right#F364D1
Split-complement 1#D1F364
Split-complement 2#64F386
Triadic 1#F3CD64
Triadic 2#64F3CD
Tetradic#F38664

RGB percentages

Red80.4%
Green39.2%
Blue95.3%

CMYK percentages

Cyan15.6%
Magenta58.8%
Yellow0.0%
Key (black)4.7%

Color previews

#cd64f3 text on a black background

contrast 6.71:1

Card sample

#cd64f3 text on a white background

contrast 3.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #cd64f3;
Background color
Panel with #cd64f3 background
background-color: #cd64f3;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #cd64f3;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(205, 100, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 100, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd64f3;
background: linear-gradient(135deg, #cd64f3, #F364BA);

Monochromatic scale

Palettes built from #cd64f3

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#cd64f3 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#cd64f3, answered

What color is #cd64f3?

#cd64f3 is a light electric violet, closest to Medium Orchid (ΔE2000 6.6). It sits at 284° on the hue wheel with 86% saturation and 67% lightness, which reads as cool.

What is the RGB value of #cd64f3?

rgb(205, 100, 243) — 205 red, 100 green and 243 blue out of 255, or 80.4% / 39.2% / 95.3% by channel.

Is #cd64f3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2856 and perceived brightness is 62%, so black text on it reaches 6.71:1.

Should I use black or white text on #cd64f3?

Black. It scores 6.71:1 against #cd64f3, versus 3.13:1 for white — AA at any size.

What is the complementary color of #cd64f3?

#8AF364 sits directly opposite on the wheel. Softer options are the split-complements #D1F364 and #64F386, which give the same contrast with far less vibration.

What colors go well with #cd64f3?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #864B9B for secondary text, #69C10B as an accent and #590976 for hover and pressed states. For a palette, the analogous pair #8664F3 and #F364D1 stays calm, while #8AF364 is the loudest partner.

What is #cd64f3 in CMYK for printing?

cmyk(16%, 59%, 0%, 5%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #cd64f3 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F364E4; nudged cooler, #9863F5.

Work with #cd64f3 in the Color Lab