#CB5FE5#CB5FE5

#CB5FE5 is a light, highly saturated purple. Relative luminance 0.265; OKLCH L 66.9% C 0.213 H 319.4°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#CB5FE5
RGBrgb(203, 95, 229)
HSLhsl(288, 72%, 64%)
HSVhsv(288, 59%, 90%)
CMYKcmyk(11.4%, 58.5%, 0%, 10.2%)
CIE-LABlab(58.55, 62.11, -49.64)
CIE-LCHlch(58.55, 79.51, 321.36°)
OKLaboklab(66.91% 0.1617 -0.1383)
OKLCHoklch(66.91% 0.213 319.4)
XYZxyz(42.8619, 26.5399, 76.9785)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FE5 #79E55F
analogous
#885FE5 #CB5FE5 #E55FBC
triadic
#CB5FE5 #E5CB5F #5FE5CB
tetradic
#CB5FE5 #E5885F #79E55F #5FBCE5
square
#CB5FE5 #E5885F #79E55F #5FBCE5
split-complementary
#CB5FE5 #BCE55F #5FE588
monochromatic
#911CAD #BA2ADC #CB5FE5 #DC94EE #EDC8F6

Accessibility & contrast

On white

3.33
#CB5FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#CB5FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FE5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FE5#FFFFFF#000000##000000
##CB5FE51.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4085E9
Deuteranopia (green-blind)
#6891E2
Tritanopia (blue-blind)
#CC7499
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5fe5;
/* rgb */ color: rgb(203, 95, 229);
/* oklch */ color: oklch(66.9% 0.213 319.4);
Tailwind
colors: {
  custom: {
    50: '#de92ee',
    500: '#cb5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fe5;
$custom-light: #de92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fe5",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 288.358,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66907,
    "c": 0.21279,
    "h": 319.4
  },
  "luminance": 0.26538
}

Semantic roles & 50–950 ramp

primary
#CB5FE5
secondary
#C1E8B8
accent
#D41137
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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