#CB5BE6#CB5BE6

#CB5BE6 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.5% C 0.219 H 319.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CB5BE6
RGBrgb(203, 91, 230)
HSLhsl(288, 74%, 63%)
HSVhsv(288, 60%, 90%)
CMYKcmyk(11.7%, 60.4%, 0%, 9.8%)
CIE-LABlab(57.94, 64.11, -51.17)
CIE-LCHlch(57.94, 82.02, 321.40°)
OKLaboklab(66.48% 0.1665 -0.1428)
OKLCHoklch(66.48% 0.219 319.4)
XYZxyz(42.6508, 25.8937, 77.5989)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5BE6 #76E65B
analogous
#855BE6 #CB5BE6 #E65BBC
triadic
#CB5BE6 #E6CB5B #5BE6CB
tetradic
#CB5BE6 #E6855B #76E65B #5BBCE6
square
#CB5BE6 #E6855B #76E65B #5BBCE6
split-complementary
#CB5BE6 #BCE65B #5BE685
monochromatic
#901AAC #BA26DE #CB5BE6 #DC90EE #EDC5F6

Accessibility & contrast

On white

3.40
#CB5BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CB5BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5BE6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5BE6#FFFFFF#000000##000000
##CB5BE61.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EA
Deuteranopia (green-blind)
#658FE2
Tritanopia (blue-blind)
#CB7298
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5be6;
/* rgb */ color: rgb(203, 91, 230);
/* oklch */ color: oklch(66.5% 0.219 319.4);
Tailwind
colors: {
  custom: {
    50: '#de90ee',
    500: '#cb5be6',
    950: '#000000',
  },
}
SCSS
$custom: #cb5be6;
$custom-light: #de90ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5be6",
  "rgb": {
    "r": 203,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 288.345,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66481,
    "c": 0.21935,
    "h": 319.4
  },
  "luminance": 0.25892
}

Semantic roles & 50–950 ramp

primary
#CB5BE6
secondary
#BFE7B5
accent
#D61036
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB5BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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