#CD5DEA#CD5DEA

#CD5DEA is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.2% C 0.221 H 318.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CD5DEA
RGBrgb(205, 93, 234)
HSLhsl(288, 77%, 64%)
HSVhsv(288, 60%, 92%)
CMYKcmyk(12.4%, 60.3%, 0%, 8.2%)
CIE-LABlab(58.74, 64.45, -52.11)
CIE-LCHlch(58.74, 82.88, 321.04°)
OKLaboklab(67.19% 0.1666 -0.1455)
OKLCHoklch(67.19% 0.221 318.9)
XYZxyz(43.9405, 26.7502, 80.6747)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DEA #7AEA5D
analogous
#875DEA #CD5DEA #EA5DC0
triadic
#CD5DEA #EACD5D #5DEACD
tetradic
#CD5DEA #EA875D #7AEA5D #5DC0EA
square
#CD5DEA #EA875D #7AEA5D #5DC0EA
split-complementary
#CD5DEA #C0EA5D #5DEA87
monochromatic
#9517B5 #BC27E3 #CD5DEA #DE93F1 #EEC9F8

Accessibility & contrast

On white

3.31
#CD5DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CD5DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DEA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DEA#FFFFFF#000000##000000
##CD5DEA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3886EE
Deuteranopia (green-blind)
#6591E6
Tritanopia (blue-blind)
#CD749B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5dea;
/* rgb */ color: rgb(205, 93, 234);
/* oklch */ color: oklch(67.2% 0.221 318.9);
Tailwind
colors: {
  custom: {
    50: '#df91f1',
    500: '#cd5dea',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dea;
$custom-light: #df91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dea",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 287.66,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.67191,
    "c": 0.22116,
    "h": 318.9
  },
  "luminance": 0.26748
}

Semantic roles & 50–950 ramp

primary
#CD5DEA
secondary
#C3EAB9
accent
#D90C36
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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