#CB5DEA#CB5DEA

#CB5DEA is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.9% C 0.220 H 318.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CB5DEA
RGBrgb(203, 93, 234)
HSLhsl(287, 77%, 64%)
HSVhsv(287, 60%, 92%)
CMYKcmyk(13.2%, 60.3%, 0%, 8.2%)
CIE-LABlab(58.48, 63.97, -52.55)
CIE-LCHlch(58.48, 82.79, 320.60°)
OKLaboklab(66.94% 0.1643 -0.1468)
OKLCHoklch(66.94% 0.22 318.2)
XYZxyz(43.3922, 26.4675, 80.6490)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DEA #7CEA5D
analogous
#855DEA #CB5DEA #EA5DC2
triadic
#CB5DEA #EACB5D #5DEACB
tetradic
#CB5DEA #EA855D #7CEA5D #5DC2EA
square
#CB5DEA #EA855D #7CEA5D #5DC2EA
split-complementary
#CB5DEA #C2EA5D #5DEA85
monochromatic
#9217B5 #BA27E3 #CB5DEA #DC93F1 #EEC9F8

Accessibility & contrast

On white

3.34
#CB5DEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CB5DEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DEA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DEA#FFFFFF#000000##000000
##CB5DEA1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785EE
Deuteranopia (green-blind)
#6390E6
Tritanopia (blue-blind)
#CB759B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5dea;
/* rgb */ color: rgb(203, 93, 234);
/* oklch */ color: oklch(66.9% 0.220 318.2);
Tailwind
colors: {
  custom: {
    50: '#de91f1',
    500: '#cb5dea',
    950: '#000000',
  },
}
SCSS
$custom: #cb5dea;
$custom-light: #de91f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5dea",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 286.809,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66944,
    "c": 0.22029,
    "h": 318.2
  },
  "luminance": 0.26466
}

Semantic roles & 50–950 ramp

primary
#CB5DEA
secondary
#C4EAB9
accent
#D90C39
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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