#CB5CE4#CB5CE4

#CB5CE4 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.5% C 0.216 H 319.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CB5CE4
RGBrgb(203, 92, 228)
HSLhsl(289, 72%, 63%)
HSVhsv(289, 60%, 89%)
CMYKcmyk(11%, 59.6%, 0%, 10.6%)
CIE-LABlab(57.99, 63.28, -49.96)
CIE-LCHlch(57.99, 80.62, 321.71°)
OKLaboklab(66.49% 0.1653 -0.1393)
OKLCHoklch(66.49% 0.216 319.9)
XYZxyz(42.4576, 25.9541, 76.1570)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CE4 #75E45C
analogous
#875CE4 #CB5CE4 #E45CB9
triadic
#CB5CE4 #E4CB5C #5CE4CB
tetradic
#CB5CE4 #E4875C #75E45C #5CB9E4
square
#CB5CE4 #E4875C #75E45C #5CB9E4
split-complementary
#CB5CE4 #B9E45C #5CE487
monochromatic
#901CAA #BA27DB #CB5CE4 #DC91ED #ECC5F5

Accessibility & contrast

On white

3.39
#CB5CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#CB5CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CE4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CE4#FFFFFF#000000##000000
##CB5CE41.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E8
Deuteranopia (green-blind)
#678FE1
Tritanopia (blue-blind)
#CC7298
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cb5ce4;
/* rgb */ color: rgb(203, 92, 228);
/* oklch */ color: oklch(66.5% 0.216 319.9);
Tailwind
colors: {
  custom: {
    50: '#de90ed',
    500: '#cb5ce4',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ce4;
$custom-light: #de90ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ce4",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 288.971,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66488,
    "c": 0.21611,
    "h": 319.9
  },
  "luminance": 0.25952
}

Semantic roles & 50–950 ramp

primary
#CB5CE4
secondary
#BEE7B5
accent
#D41235
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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