#CD5DE2#CD5DE2

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

Color values

HEX#CD5DE2
RGBrgb(205, 93, 226)
HSLhsl(291, 70%, 63%)
HSVhsv(291, 59%, 89%)
CMYKcmyk(9.3%, 58.8%, 0%, 11.4%)
CIE-LABlab(58.32, 62.94, -48.30)
CIE-LCHlch(58.32, 79.34, 322.50°)
OKLaboklab(66.75% 0.1663 -0.1344)
OKLCHoklch(66.75% 0.214 321.1)
XYZxyz(42.8171, 26.3009, 74.7580)
Luminance0.2630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DE2 #72E25D
analogous
#8A5DE2 #CD5DE2 #E25DB5
triadic
#CD5DE2 #E2CD5D #5DE2CD
tetradic
#CD5DE2 #E28A5D #72E25D #5DB5E2
square
#CD5DE2 #E28A5D #72E25D #5DB5E2
split-complementary
#CD5DE2 #B5E25D #5DE28A
monochromatic
#911EA7 #BD29D9 #CD5DE2 #DD91EB #EDC5F5

Accessibility & contrast

On white

3.35
#CD5DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5DE2#FFFFFF#000000##000000
##CD5DE21.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd5de2;
/* rgb */ color: rgb(205, 93, 226);
/* oklch */ color: oklch(66.7% 0.214 321.1);
Tailwind
colors: {
  custom: {
    50: '#df91eb',
    500: '#cd5de2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5de2;
$custom-light: #df91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5de2",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 290.526,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66748,
    "c": 0.21379,
    "h": 321.1
  },
  "luminance": 0.26299
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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