#CB5FEA#CB5FEA

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

Color values

HEX#CB5FEA
RGBrgb(203, 95, 234)
HSLhsl(287, 77%, 65%)
HSVhsv(287, 59%, 92%)
CMYKcmyk(13.2%, 59.4%, 0%, 8.2%)
CIE-LABlab(58.81, 63.07, -52.02)
CIE-LCHlch(58.81, 81.75, 320.48°)
OKLaboklab(67.18% 0.1619 -0.1453)
OKLCHoklch(67.18% 0.217 318.1)
XYZxyz(43.5700, 26.8232, 80.7083)
Luminance0.2682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FEA #7EEA5F
analogous
#865FEA #CB5FEA #EA5FC3
triadic
#CB5FEA #EACB5F #5FEACB
tetradic
#CB5FEA #EA865F #7EEA5F #5FC3EA
square
#CB5FEA #EA865F #7EEA5F #5FC3EA
split-complementary
#CB5FEA #C3EA5F #5FEA86
monochromatic
#9318B7 #B929E3 #CB5FEA #DD95F1 #EECBF8

Accessibility & contrast

On white

3.30
#CB5FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#CB5FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FEA
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FEA#FFFFFF#000000##000000
##CB5FEA1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A86EE
Deuteranopia (green-blind)
#6591E6
Tritanopia (blue-blind)
#CB769C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cb5fea;
/* rgb */ color: rgb(203, 95, 234);
/* oklch */ color: oklch(67.2% 0.217 318.1);
Tailwind
colors: {
  custom: {
    50: '#de92f1',
    500: '#cb5fea',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fea;
$custom-light: #de92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fea",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 286.619,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67185,
    "c": 0.21749,
    "h": 318.1
  },
  "luminance": 0.26821
}

Semantic roles & 50–950 ramp

primary
#CB5FEA
secondary
#C5EABA
accent
#D90C3A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D17
muted
#847E85

Preview Lab

Preview with #CB5FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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