#CD5CEE#CD5CEE

#CD5CEE is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.3% C 0.226 H 317.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#CD5CEE
RGBrgb(205, 92, 238)
HSLhsl(286, 81%, 65%)
HSVhsv(286, 61%, 93%)
CMYKcmyk(13.9%, 61.3%, 0%, 6.7%)
CIE-LABlab(58.80, 65.66, -54.26)
CIE-LCHlch(58.80, 85.18, 320.43°)
OKLaboklab(67.3% 0.1678 -0.1517)
OKLCHoklch(67.3% 0.226 317.9)
XYZxyz(44.4344, 26.8083, 83.7063)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CEE #7DEE5C
analogous
#845CEE #CD5CEE #EE5CC6
triadic
#CD5CEE #EECD5C #5CEECD
tetradic
#CD5CEE #EE845C #7DEE5C #5CC6EE
square
#CD5CEE #EE845C #7DEE5C #5CC6EE
split-complementary
#CD5CEE #C6EE5C #5CEE84
monochromatic
#9614BC #BC25E8 #CD5CEE #DE93F4 #EFCBFA

Accessibility & contrast

On white

3.30
#CD5CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CD5CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CEE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CEE#FFFFFF#000000##000000
##CD5CEE1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3186F2
Deuteranopia (green-blind)
#6291EA
Tritanopia (blue-blind)
#CC759D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cd5cee;
/* rgb */ color: rgb(205, 92, 238);
/* oklch */ color: oklch(67.3% 0.226 317.9);
Tailwind
colors: {
  custom: {
    50: '#e091f4',
    500: '#cd5cee',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cee;
$custom-light: #e091f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cee",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 238
  },
  "hsl": {
    "h": 286.438,
    "s": 81.111,
    "l": 64.706
  },
  "oklch": {
    "l": 0.673,
    "c": 0.22624,
    "h": 317.9
  },
  "luminance": 0.26806
}

Semantic roles & 50–950 ramp

primary
#CD5CEE
secondary
#C5ECBA
accent
#DD0838
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD5CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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