#CD5CE2#CD5CE2

#CD5CE2 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.6% C 0.215 H 321.1°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CD5CE2
RGBrgb(205, 92, 226)
HSLhsl(291, 70%, 62%)
HSVhsv(291, 59%, 89%)
CMYKcmyk(9.3%, 59.3%, 0%, 11.4%)
CIE-LABlab(58.16, 63.39, -48.56)
CIE-LCHlch(58.16, 79.85, 322.55°)
OKLaboklab(66.63% 0.1675 -0.1351)
OKLCHoklch(66.63% 0.215 321.1)
XYZxyz(42.7299, 26.1265, 74.7289)
Luminance0.2612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CE2 #71E25C
analogous
#8A5CE2 #CD5CE2 #E25CB4
triadic
#CD5CE2 #E2CD5C #5CE2CD
tetradic
#CD5CE2 #E28A5C #71E25C #5CB4E2
square
#CD5CE2 #E28A5C #71E25C #5CB4E2
split-complementary
#CD5CE2 #B4E25C #5CE28A
monochromatic
#911EA6 #BD28D9 #CD5CE2 #DD90EB #EDC4F4

Accessibility & contrast

On white

3.37
#CD5CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CD5CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CE2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CE2#FFFFFF#000000##000000
##CD5CE21.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F84E6
Deuteranopia (green-blind)
#6A90DF
Tritanopia (blue-blind)
#CF7197
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5ce2;
/* rgb */ color: rgb(205, 92, 226);
/* oklch */ color: oklch(66.6% 0.215 321.1);
Tailwind
colors: {
  custom: {
    50: '#df90eb',
    500: '#cd5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ce2;
$custom-light: #df90eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ce2",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 290.597,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66629,
    "c": 0.21521,
    "h": 321.1
  },
  "luminance": 0.26124
}

Semantic roles & 50–950 ramp

primary
#CD5CE2
secondary
#BCE5B4
accent
#D21432
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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