#CD5FE6#CD5FE6

#CD5FE6 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.2% C 0.215 H 319.8°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#CD5FE6
RGBrgb(205, 95, 230)
HSLhsl(289, 73%, 64%)
HSVhsv(289, 59%, 90%)
CMYKcmyk(10.9%, 58.7%, 0%, 9.8%)
CIE-LABlab(58.86, 62.79, -49.68)
CIE-LCHlch(58.86, 80.07, 321.64°)
OKLaboklab(67.21% 0.164 -0.1384)
OKLCHoklch(67.21% 0.215 319.8)
XYZxyz(43.5502, 26.8787, 77.7417)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FE6 #78E65F
analogous
#895FE6 #CD5FE6 #E65FBB
triadic
#CD5FE6 #E6CD5F #5FE6CD
tetradic
#CD5FE6 #E6895F #78E65F #5FBBE6
square
#CD5FE6 #E6895F #78E65F #5FBBE6
split-complementary
#CD5FE6 #BBE65F #5FE689
monochromatic
#941BAF #BC2ADE #CD5FE6 #DE94EE #EEC9F7

Accessibility & contrast

On white

3.29
#CD5FE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#CD5FE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FE6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FE6#FFFFFF#000000##000000
##CD5FE61.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4086EA
Deuteranopia (green-blind)
#6992E3
Tritanopia (blue-blind)
#CE749A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5fe6;
/* rgb */ color: rgb(205, 95, 230);
/* oklch */ color: oklch(67.2% 0.215 319.8);
Tailwind
colors: {
  custom: {
    50: '#df92ee',
    500: '#cd5fe6',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fe6;
$custom-light: #df92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fe6",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 230
  },
  "hsl": {
    "h": 288.889,
    "s": 72.973,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67209,
    "c": 0.21463,
    "h": 319.8
  },
  "luminance": 0.26877
}

Semantic roles & 50–950 ramp

primary
#CD5FE6
secondary
#C1E8B9
accent
#D51035
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5FE6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CD5FE6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva