#CB5DE8#CB5DE8

#CB5DE8 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.8% C 0.218 H 318.7°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CB5DE8
RGBrgb(203, 93, 232)
HSLhsl(287, 75%, 64%)
HSVhsv(287, 60%, 91%)
CMYKcmyk(12.5%, 59.9%, 0%, 9%)
CIE-LABlab(58.37, 63.59, -51.60)
CIE-LCHlch(58.37, 81.89, 320.94°)
OKLaboklab(66.83% 0.1642 -0.144)
OKLCHoklch(66.83% 0.218 318.7)
XYZxyz(43.1065, 26.3532, 79.1443)
Luminance0.2635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5DE8 #7AE85D
analogous
#855DE8 #CB5DE8 #E85DBF
triadic
#CB5DE8 #E8CB5D #5DE8CB
tetradic
#CB5DE8 #E8855D #7AE85D #5DBFE8
square
#CB5DE8 #E8855D #7AE85D #5DBFE8
split-complementary
#CB5DE8 #BFE85D #5DE885
monochromatic
#9219B1 #BA27E0 #CB5DE8 #DC93F0 #EDC8F7

Accessibility & contrast

On white

3.35
#CB5DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CB5DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5DE8
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5DE8#FFFFFF#000000##000000
##CB5DE81.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3985EC
Deuteranopia (green-blind)
#6590E4
Tritanopia (blue-blind)
#CB749A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5de8;
/* rgb */ color: rgb(203, 93, 232);
/* oklch */ color: oklch(66.8% 0.218 318.7);
Tailwind
colors: {
  custom: {
    50: '#de91f0',
    500: '#cb5de8',
    950: '#000000',
  },
}
SCSS
$custom: #cb5de8;
$custom-light: #de91f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5de8",
  "rgb": {
    "r": 203,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 287.482,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66831,
    "c": 0.21842,
    "h": 318.7
  },
  "luminance": 0.26351
}

Semantic roles & 50–950 ramp

primary
#CB5DE8
secondary
#C2E9B8
accent
#D70E38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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