#CB5FE9#CB5FE9

#CB5FE9 is a light, highly saturated purple. Relative luminance 0.268; OKLCH L 67.1% C 0.217 H 318.4°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#CB5FE9
RGBrgb(203, 95, 233)
HSLhsl(287, 76%, 64%)
HSVhsv(287, 59%, 91%)
CMYKcmyk(12.9%, 59.2%, 0%, 8.6%)
CIE-LABlab(58.76, 62.87, -51.54)
CIE-LCHlch(58.76, 81.30, 320.65°)
OKLaboklab(67.13% 0.1618 -0.1439)
OKLCHoklch(67.13% 0.217 318.4)
XYZxyz(43.4268, 26.7659, 79.9538)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FE9 #7DE95F
analogous
#865FE9 #CB5FE9 #E95FC2
triadic
#CB5FE9 #E9CB5F #5FE9CB
tetradic
#CB5FE9 #E9865F #7DE95F #5FC2E9
square
#CB5FE9 #E9865F #7DE95F #5FC2E9
split-complementary
#CB5FE9 #C2E95F #5FE986
monochromatic
#9319B5 #BA29E2 #CB5FE9 #DC95F0 #EECBF8

Accessibility & contrast

On white

3.31
#CB5FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#CB5FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FE9
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FE9#FFFFFF#000000##000000
##CB5FE91.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C86ED
Deuteranopia (green-blind)
#6691E5
Tritanopia (blue-blind)
#CB769B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5fe9;
/* rgb */ color: rgb(203, 95, 233);
/* oklch */ color: oklch(67.1% 0.217 318.4);
Tailwind
colors: {
  custom: {
    50: '#de92f0',
    500: '#cb5fe9',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fe9;
$custom-light: #de92f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fe9",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 286.957,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67129,
    "c": 0.21655,
    "h": 318.4
  },
  "luminance": 0.26764
}

Semantic roles & 50–950 ramp

primary
#CB5FE9
secondary
#C4EABA
accent
#D80D3A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CB5FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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