#CB5EEA#CB5EEA

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

Color values

HEX#CB5EEA
RGBrgb(203, 94, 234)
HSLhsl(287, 77%, 64%)
HSVhsv(287, 60%, 92%)
CMYKcmyk(13.2%, 59.8%, 0%, 8.2%)
CIE-LABlab(58.64, 63.52, -52.28)
CIE-LCHlch(58.64, 82.27, 320.54°)
OKLaboklab(67.06% 0.1631 -0.146)
OKLCHoklch(67.06% 0.219 318.2)
XYZxyz(43.4805, 26.6442, 80.6784)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EEA #7DEA5E
analogous
#855EEA #CB5EEA #EA5EC3
triadic
#CB5EEA #EACB5E #5EEACB
tetradic
#CB5EEA #EA855E #7DEA5E #5EC3EA
square
#CB5EEA #EA855E #7DEA5E #5EC3EA
split-complementary
#CB5EEA #C3EA5E #5EEA85
monochromatic
#9318B6 #BA28E3 #CB5EEA #DC94F1 #EECAF8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5EEA#FFFFFF#000000##000000
##CB5EEA1.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)
#3886EE
Deuteranopia (green-blind)
#6491E6
Tritanopia (blue-blind)
#CB759C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5eea;
/* rgb */ color: rgb(203, 94, 234);
/* oklch */ color: oklch(67.1% 0.219 318.2);
Tailwind
colors: {
  custom: {
    50: '#de91f1',
    500: '#cb5eea',
    950: '#000000',
  },
}
SCSS
$custom: #cb5eea;
$custom-light: #de91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5eea",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 286.714,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67064,
    "c": 0.2189,
    "h": 318.2
  },
  "luminance": 0.26642
}

Semantic roles & 50–950 ramp

primary
#CB5EEA
secondary
#C4EABA
accent
#D90C3A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CB5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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