#CB5CE9#CB5CE9

#CB5CE9 is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.8% C 0.221 H 318.5°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CB5CE9
RGBrgb(203, 92, 233)
HSLhsl(287, 76%, 64%)
HSVhsv(287, 61%, 91%)
CMYKcmyk(12.9%, 60.5%, 0%, 8.6%)
CIE-LABlab(58.26, 64.23, -52.33)
CIE-LCHlch(58.26, 82.85, 320.83°)
OKLaboklab(66.77% 0.1654 -0.1462)
OKLCHoklch(66.77% 0.221 318.5)
XYZxyz(43.1617, 26.2358, 79.8655)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CE9 #7AE95C
analogous
#845CE9 #CB5CE9 #E95CC0
triadic
#CB5CE9 #E9CB5C #5CE9CB
tetradic
#CB5CE9 #E9845C #7AE95C #5CC0E9
square
#CB5CE9 #E9845C #7AE95C #5CC0E9
split-complementary
#CB5CE9 #C0E95C #5CE984
monochromatic
#9218B3 #BA26E2 #CB5CE9 #DC92F0 #EDC8F8

Accessibility & contrast

On white

3.36
#CB5CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CB5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CE9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CE9#FFFFFF#000000##000000
##CB5CE91.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3685ED
Deuteranopia (green-blind)
#6390E5
Tritanopia (blue-blind)
#CB749A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5ce9;
/* rgb */ color: rgb(203, 92, 233);
/* oklch */ color: oklch(66.8% 0.221 318.5);
Tailwind
colors: {
  custom: {
    50: '#de90f1',
    500: '#cb5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #cb5ce9;
$custom-light: #de90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5ce9",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 287.234,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66768,
    "c": 0.22075,
    "h": 318.5
  },
  "luminance": 0.26234
}

Semantic roles & 50–950 ramp

primary
#CB5CE9
secondary
#C2E9B8
accent
#D80D38
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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