#CB5DEE#CB5DEE

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

Color values

HEX#CB5DEE
RGBrgb(203, 93, 238)
HSLhsl(286, 81%, 65%)
HSVhsv(286, 61%, 93%)
CMYKcmyk(14.7%, 60.9%, 0%, 6.7%)
CIE-LABlab(58.70, 64.75, -54.43)
CIE-LCHlch(58.70, 84.59, 319.95°)
OKLaboklab(67.17% 0.1643 -0.1523)
OKLCHoklch(67.17% 0.224 317.2)
XYZxyz(43.9733, 26.7000, 83.7096)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DEE #80EE5D
analogous
#825DEE #CB5DEE #EE5DC9
triadic
#CB5DEE #EECB5D #5DEECB
tetradic
#CB5DEE #EE825D #80EE5D #5DC9EE
square
#CB5DEE #EE825D #80EE5D #5DC9EE
split-complementary
#CB5DEE #C9EE5D #5DEE82
monochromatic
#9414BD #B926E8 #CB5DEE #DD94F4 #EFCCFA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5DEE#FFFFFF#000000##000000
##CB5DEE1.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)
#3186F2
Deuteranopia (green-blind)
#6191EA
Tritanopia (blue-blind)
#CA769D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5dee;
/* rgb */ color: rgb(203, 93, 238);
/* oklch */ color: oklch(67.2% 0.224 317.2);
Tailwind
colors: {
  custom: {
    50: '#de91f4',
    500: '#cb5dee',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dee;
$custom-light: #de91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dee",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 238
  },
  "hsl": {
    "h": 285.517,
    "s": 81.006,
    "l": 64.902
  },
  "oklch": {
    "l": 0.67172,
    "c": 0.22404,
    "h": 317.2
  },
  "luminance": 0.26698
}

Semantic roles & 50–950 ramp

primary
#CB5DEE
secondary
#C7ECBB
accent
#DD083C
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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