#CD5FE9#CD5FE9

#CD5FE9 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.4% C 0.217 H 319.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#CD5FE9
RGBrgb(205, 95, 233)
HSLhsl(288, 76%, 64%)
HSVhsv(288, 59%, 91%)
CMYKcmyk(12%, 59.2%, 0%, 8.6%)
CIE-LABlab(59.02, 63.36, -51.11)
CIE-LCHlch(59.02, 81.40, 321.11°)
OKLaboklab(67.38% 0.1642 -0.1426)
OKLCHoklch(67.38% 0.217 319)
XYZxyz(43.9751, 27.0486, 79.9795)
Luminance0.2705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5FE9 #7BE95F
analogous
#885FE9 #CD5FE9 #E95FC0
triadic
#CD5FE9 #E9CD5F #5FE9CD
tetradic
#CD5FE9 #E9885F #7BE95F #5FC0E9
square
#CD5FE9 #E9885F #7BE95F #5FC0E9
split-complementary
#CD5FE9 #C0E95F #5FE988
monochromatic
#9519B5 #BC29E2 #CD5FE9 #DE95F0 #EFCBF8

Accessibility & contrast

On white

3.28
#CD5FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#CD5FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5FE9
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5FE9#FFFFFF#000000##000000
##CD5FE91.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87ED
Deuteranopia (green-blind)
#6792E5
Tritanopia (blue-blind)
#CD759B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd5fe9;
/* rgb */ color: rgb(205, 95, 233);
/* oklch */ color: oklch(67.4% 0.217 319.0);
Tailwind
colors: {
  custom: {
    50: '#df92f0',
    500: '#cd5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5fe9;
$custom-light: #df92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5fe9",
  "rgb": {
    "r": 205,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 287.826,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67375,
    "c": 0.21742,
    "h": 319
  },
  "luminance": 0.27047
}

Semantic roles & 50–950 ramp

primary
#CD5FE9
secondary
#C4EABA
accent
#D80D37
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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