#CB5DEB#CB5DEB

#CB5DEB is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 67.0% C 0.221 H 317.9°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#CB5DEB
RGBrgb(203, 93, 235)
HSLhsl(286, 78%, 64%)
HSVhsv(286, 60%, 92%)
CMYKcmyk(13.6%, 60.4%, 0%, 7.8%)
CIE-LABlab(58.53, 64.17, -53.02)
CIE-LCHlch(58.53, 83.24, 320.43°)
OKLaboklab(67% 0.1643 -0.1482)
OKLCHoklch(67% 0.221 317.9)
XYZxyz(43.5363, 26.5251, 81.4077)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DEB #7DEB5D
analogous
#845DEB #CB5DEB #EB5DC4
triadic
#CB5DEB #EBCB5D #5DEBCB
tetradic
#CB5DEB #EB845D #7DEB5D #5DC4EB
square
#CB5DEB #EB845D #7DEB5D #5DC4EB
split-complementary
#CB5DEB #C4EB5D #5DEB84
monochromatic
#9317B7 #BA27E4 #CB5DEB #DC93F2 #EECAF8

Accessibility & contrast

On white

3.33
#CB5DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#CB5DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DEB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DEB#FFFFFF#000000##000000
##CB5DEB1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3586EF
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#CA759C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5deb;
/* rgb */ color: rgb(203, 93, 235);
/* oklch */ color: oklch(67.0% 0.221 317.9);
Tailwind
colors: {
  custom: {
    50: '#de91f2',
    500: '#cb5deb',
    950: '#000000',
  },
}
SCSS
$custom: #cb5deb;
$custom-light: #de91f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5deb",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 286.479,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67,
    "c": 0.22123,
    "h": 317.9
  },
  "luminance": 0.26523
}

Semantic roles & 50–950 ramp

primary
#CB5DEB
secondary
#C4EBB9
accent
#DA0B3A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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