#CD5DE8#CD5DE8

#CD5DE8 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.1% C 0.219 H 319.4°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#CD5DE8
RGBrgb(205, 93, 232)
HSLhsl(288, 75%, 64%)
HSVhsv(288, 60%, 91%)
CMYKcmyk(11.6%, 59.9%, 0%, 9%)
CIE-LABlab(58.64, 64.07, -51.16)
CIE-LCHlch(58.64, 81.99, 321.39°)
OKLaboklab(67.08% 0.1665 -0.1427)
OKLCHoklch(67.08% 0.219 319.4)
XYZxyz(43.6548, 26.6359, 79.1700)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DE8 #78E85D
analogous
#875DE8 #CD5DE8 #E85DBD
triadic
#CD5DE8 #E8CD5D #5DE8CD
tetradic
#CD5DE8 #E8875D #78E85D #5DBDE8
square
#CD5DE8 #E8875D #78E85D #5DBDE8
split-complementary
#CD5DE8 #BDE85D #5DE887
monochromatic
#9419B1 #BC27E0 #CD5DE8 #DE93F0 #EEC8F7

Accessibility & contrast

On white

3.32
#CD5DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#CD5DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DE8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DE8#FFFFFF#000000##000000
##CD5DE81.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A85EC
Deuteranopia (green-blind)
#6791E4
Tritanopia (blue-blind)
#CD749A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5de8;
/* rgb */ color: rgb(205, 93, 232);
/* oklch */ color: oklch(67.1% 0.219 319.4);
Tailwind
colors: {
  custom: {
    50: '#df91f0',
    500: '#cd5de8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5de8;
$custom-light: #df91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5de8",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 288.345,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67079,
    "c": 0.21931,
    "h": 319.4
  },
  "luminance": 0.26634
}

Semantic roles & 50–950 ramp

primary
#CD5DE8
secondary
#C1E9B8
accent
#D70E35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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