#CB5DE9#CB5DE9

#CB5DE9 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.9% C 0.219 H 318.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#CB5DE9
RGBrgb(203, 93, 233)
HSLhsl(287, 76%, 64%)
HSVhsv(287, 60%, 91%)
CMYKcmyk(12.9%, 60.1%, 0%, 8.6%)
CIE-LABlab(58.42, 63.78, -52.07)
CIE-LCHlch(58.42, 82.34, 320.77°)
OKLaboklab(66.89% 0.1642 -0.1454)
OKLCHoklch(66.89% 0.219 318.5)
XYZxyz(43.2489, 26.4102, 79.8945)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DE9 #7BE95D
analogous
#855DE9 #CB5DE9 #E95DC1
triadic
#CB5DE9 #E9CB5D #5DE9CB
tetradic
#CB5DE9 #E9855D #7BE95D #5DC1E9
square
#CB5DE9 #E9855D #7BE95D #5DC1E9
split-complementary
#CB5DE9 #C1E95D #5DE985
monochromatic
#9218B3 #BA27E2 #CB5DE9 #DC93F0 #EEC9F8

Accessibility & contrast

On white

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

On black

6.28
#CB5DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DE9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DE9#FFFFFF#000000##000000
##CB5DE91.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885ED
Deuteranopia (green-blind)
#6490E5
Tritanopia (blue-blind)
#CB749B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5de9;
/* rgb */ color: rgb(203, 93, 233);
/* oklch */ color: oklch(66.9% 0.219 318.5);
Tailwind
colors: {
  custom: {
    50: '#de91f0',
    500: '#cb5de9',
    950: '#000000',
  },
}
SCSS
$custom: #cb5de9;
$custom-light: #de91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5de9",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 233
  },
  "hsl": {
    "h": 287.143,
    "s": 76.087,
    "l": 63.922
  },
  "oklch": {
    "l": 0.66887,
    "c": 0.21936,
    "h": 318.5
  },
  "luminance": 0.26408
}

Semantic roles & 50–950 ramp

primary
#CB5DE9
secondary
#C3E9B8
accent
#D80D39
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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