#CB56E9#CB56E9

#CB56E9 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.1% C 0.229 H 318.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#CB56E9
RGBrgb(203, 86, 233)
HSLhsl(288, 77%, 63%)
HSVhsv(288, 63%, 91%)
CMYKcmyk(12.9%, 63.1%, 0%, 8.6%)
CIE-LABlab(57.31, 66.86, -53.85)
CIE-LCHlch(57.31, 85.85, 321.15°)
OKLaboklab(66.08% 0.1724 -0.1506)
OKLCHoklch(66.08% 0.229 318.9)
XYZxyz(42.6624, 25.2372, 79.6990)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56E9 #74E956
analogous
#8156E9 #CB56E9 #E956BE
triadic
#CB56E9 #E9CB56 #56E9CB
tetradic
#CB56E9 #E98156 #74E956 #56BEE9
square
#CB56E9 #E98156 #74E956 #56BEE9
split-complementary
#CB56E9 #BEE956 #56E981
monochromatic
#8F17AE #BA20E2 #CB56E9 #DC8CF0 #ECC2F7

Accessibility & contrast

On white

3.47
#CB56E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#CB56E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56E9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56E9#FFFFFF#000000##000000
##CB56E91.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982ED
Deuteranopia (green-blind)
#5F8EE5
Tritanopia (blue-blind)
#CB6F98
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb56e9;
/* rgb */ color: rgb(203, 86, 233);
/* oklch */ color: oklch(66.1% 0.229 318.9);
Tailwind
colors: {
  custom: {
    50: '#de8df1',
    500: '#cb56e9',
    950: '#000000',
  },
}
SCSS
$custom: #cb56e9;
$custom-light: #de8df1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56e9",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 233
  },
  "hsl": {
    "h": 287.755,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66077,
    "c": 0.22887,
    "h": 318.9
  },
  "luminance": 0.25235
}

Semantic roles & 50–950 ramp

primary
#CB56E9
secondary
#BEE8B3
accent
#D90C36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB56E9

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

Preview Lab → · Contrast checker → · Palette generator →

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