#CB5EEB#CB5EEB

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

Color values

HEX#CB5EEB
RGBrgb(203, 94, 235)
HSLhsl(286, 78%, 65%)
HSVhsv(286, 60%, 92%)
CMYKcmyk(13.6%, 60%, 0%, 7.8%)
CIE-LABlab(58.70, 63.72, -52.76)
CIE-LCHlch(58.70, 82.72, 320.38°)
OKLaboklab(67.12% 0.1631 -0.1474)
OKLCHoklch(67.12% 0.22 317.9)
XYZxyz(43.6246, 26.7018, 81.4372)
Luminance0.2670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5EEB #7EEB5E
analogous
#855EEB #CB5EEB #EB5EC5
triadic
#CB5EEB #EBCB5E #5EEBCB
tetradic
#CB5EEB #EB855E #7EEB5E #5EC5EB
square
#CB5EEB #EB855E #7EEB5E #5EC5EB
split-complementary
#CB5EEB #C5EB5E #5EEB85
monochromatic
#9317B8 #B928E4 #CB5EEB #DD94F2 #EECBF9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB5EEB#FFFFFF#000000##000000
##CB5EEB1.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)
#3786EF
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#CA769C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5eeb;
/* rgb */ color: rgb(203, 94, 235);
/* oklch */ color: oklch(67.1% 0.220 317.9);
Tailwind
colors: {
  custom: {
    50: '#de91f2',
    500: '#cb5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #cb5eeb;
$custom-light: #de91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5eeb",
  "rgb": {
    "r": 203,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 286.383,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6712,
    "c": 0.21984,
    "h": 317.9
  },
  "luminance": 0.267
}

Semantic roles & 50–950 ramp

primary
#CB5EEB
secondary
#C5EBBA
accent
#DA0B3A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CB5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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