#CD5DE9#CD5DE9

#CD5DE9 is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.1% C 0.220 H 319.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#CD5DE9
RGBrgb(205, 93, 233)
HSLhsl(288, 76%, 64%)
HSVhsv(288, 60%, 91%)
CMYKcmyk(12%, 60.1%, 0%, 8.6%)
CIE-LABlab(58.69, 64.26, -51.64)
CIE-LCHlch(58.69, 82.44, 321.22°)
OKLaboklab(67.14% 0.1666 -0.1441)
OKLCHoklch(67.14% 0.22 319.1)
XYZxyz(43.7973, 26.6929, 79.9202)
Luminance0.2669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DE9 #79E95D
analogous
#875DE9 #CD5DE9 #E95DBF
triadic
#CD5DE9 #E9CD5D #5DE9CD
tetradic
#CD5DE9 #E9875D #79E95D #5DBFE9
square
#CD5DE9 #E9875D #79E95D #5DBFE9
split-complementary
#CD5DE9 #BFE95D #5DE987
monochromatic
#9418B3 #BC27E2 #CD5DE9 #DE93F0 #EEC9F8

Accessibility & contrast

On white

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

On black

6.34
#CD5DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DE9
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DE9#FFFFFF#000000##000000
##CD5DE91.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3986ED
Deuteranopia (green-blind)
#6691E5
Tritanopia (blue-blind)
#CD749B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5de9;
/* rgb */ color: rgb(205, 93, 233);
/* oklch */ color: oklch(67.1% 0.220 319.1);
Tailwind
colors: {
  custom: {
    50: '#df91f0',
    500: '#cd5de9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5de9;
$custom-light: #df91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5de9",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 288,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67135,
    "c": 0.22023,
    "h": 319.1
  },
  "luminance": 0.26691
}

Semantic roles & 50–950 ramp

primary
#CD5DE9
secondary
#C2E9B8
accent
#D80D36
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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