#CD5CE5#CD5CE5

#CD5CE5 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.8% C 0.218 H 320.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#CD5CE5
RGBrgb(205, 92, 229)
HSLhsl(289, 72%, 63%)
HSVhsv(289, 60%, 90%)
CMYKcmyk(10.5%, 59.8%, 0%, 10.2%)
CIE-LABlab(58.31, 63.95, -49.99)
CIE-LCHlch(58.31, 81.17, 321.98°)
OKLaboklab(66.79% 0.1676 -0.1393)
OKLCHoklch(66.79% 0.218 320.3)
XYZxyz(43.1451, 26.2926, 76.9159)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CE5 #74E55C
analogous
#885CE5 #CD5CE5 #E55CB8
triadic
#CD5CE5 #E5CD5C #5CE5CD
tetradic
#CD5CE5 #E5885C #74E55C #5CB8E5
square
#CD5CE5 #E5885C #74E55C #5CB8E5
split-complementary
#CD5CE5 #B8E55C #5CE588
monochromatic
#921BAB #BD27DD #CD5CE5 #DD91ED #EDC6F6

Accessibility & contrast

On white

3.36
#CD5CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#CD5CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CE5
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CE5#FFFFFF#000000##000000
##CD5CE51.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E9
Deuteranopia (green-blind)
#6890E1
Tritanopia (blue-blind)
#CE7298
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5ce5;
/* rgb */ color: rgb(205, 92, 229);
/* oklch */ color: oklch(66.8% 0.218 320.3);
Tailwind
colors: {
  custom: {
    50: '#df90ee',
    500: '#cd5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ce5;
$custom-light: #df90ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ce5",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 289.489,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66793,
    "c": 0.21795,
    "h": 320.3
  },
  "luminance": 0.26291
}

Semantic roles & 50–950 ramp

primary
#CD5CE5
secondary
#BEE7B6
accent
#D51133
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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