#CB5CF4#CB5CF4

#CB5CF4 is a light, highly saturated purple. Relative luminance 0.269; OKLCH L 67.4% C 0.231 H 315.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#CB5CF4
RGBrgb(203, 92, 244)
HSLhsl(284, 87%, 66%)
HSVhsv(284, 62%, 96%)
CMYKcmyk(16.8%, 62.3%, 0%, 4.3%)
CIE-LABlab(58.87, 66.37, -57.50)
CIE-LCHlch(58.87, 87.81, 319.10°)
OKLaboklab(67.4% 0.1655 -0.1612)
OKLCHoklch(67.4% 0.231 315.7)
XYZxyz(44.7823, 26.8840, 88.4006)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5CF4 #85F45C
analogous
#7F5CF4 #CB5CF4 #F45CD1
triadic
#CB5CF4 #F4CB5C #5CF4CB
tetradic
#CB5CF4 #F47F5C #85F45C #5CD1F4
square
#CB5CF4 #F47F5C #85F45C #5CD1F4
split-complementary
#CB5CF4 #D1F45C #5CF47F
monochromatic
#960EC8 #B923F0 #CB5CF4 #DD95F8 #F0CFFC

Accessibility & contrast

On white

3.29
#CB5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#CB5CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5CF4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5CF4#FFFFFF#000000##000000
##CB5CF41.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2587F9
Deuteranopia (green-blind)
#5B91F0
Tritanopia (blue-blind)
#C878A0
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cb5cf4;
/* rgb */ color: rgb(203, 92, 244);
/* oklch */ color: oklch(67.4% 0.231 315.7);
Tailwind
colors: {
  custom: {
    50: '#de91f8',
    500: '#cb5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #cb5cf4;
$custom-light: #de91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5cf4",
  "rgb": {
    "r": 203,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 283.816,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.67403,
    "c": 0.23104,
    "h": 315.7
  },
  "luminance": 0.26882
}

Semantic roles & 50–950 ramp

primary
#CB5CF4
secondary
#CAEFBD
accent
#E4023F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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