#CB5EEE#CB5EEE

#CB5EEE is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.3% C 0.223 H 317.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#CB5EEE
RGBrgb(203, 94, 238)
HSLhsl(285, 81%, 65%)
HSVhsv(285, 61%, 93%)
CMYKcmyk(14.7%, 60.5%, 0%, 6.7%)
CIE-LABlab(58.86, 64.30, -54.17)
CIE-LCHlch(58.86, 84.08, 319.89°)
OKLaboklab(67.29% 0.1631 -0.1515)
OKLCHoklch(67.29% 0.223 317.1)
XYZxyz(44.0617, 26.8766, 83.7391)
Luminance0.2687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EEE #81EE5E
analogous
#835EEE #CB5EEE #EE5EC9
triadic
#CB5EEE #EECB5E #5EEECB
tetradic
#CB5EEE #EE835E #81EE5E #5EC9EE
square
#CB5EEE #EE835E #81EE5E #5EC9EE
split-complementary
#CB5EEE #C9EE5E #5EEE83
monochromatic
#9414BE #B927E8 #CB5EEE #DD95F4 #EFCDFA

Accessibility & contrast

On white

3.29
#CB5EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#CB5EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5EEE
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5EEE#FFFFFF#000000##000000
##CB5EEE1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3387F2
Deuteranopia (green-blind)
#6191EA
Tritanopia (blue-blind)
#CA779E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5eee;
/* rgb */ color: rgb(203, 94, 238);
/* oklch */ color: oklch(67.3% 0.223 317.1);
Tailwind
colors: {
  custom: {
    50: '#de91f4',
    500: '#cb5eee',
    950: '#000000',
  },
}
SCSS
$custom: #cb5eee;
$custom-light: #de91f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5eee",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 238
  },
  "hsl": {
    "h": 285.417,
    "s": 80.899,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67291,
    "c": 0.22266,
    "h": 317.1
  },
  "luminance": 0.26875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB5EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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