#CB56E6#CB56E6

#CB56E6 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.9% C 0.226 H 319.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#CB56E6
RGBrgb(203, 86, 230)
HSLhsl(289, 74%, 62%)
HSVhsv(289, 63%, 90%)
CMYKcmyk(11.7%, 62.6%, 0%, 9.8%)
CIE-LABlab(57.14, 66.29, -52.44)
CIE-LCHlch(57.14, 84.52, 321.66°)
OKLaboklab(65.9% 0.1724 -0.1464)
OKLCHoklch(65.9% 0.226 319.7)
XYZxyz(42.2375, 25.0672, 77.4612)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56E6 #71E656
analogous
#8356E6 #CB56E6 #E656B9
triadic
#CB56E6 #E6CB56 #56E6CB
tetradic
#CB56E6 #E68356 #71E656 #56B9E6
square
#CB56E6 #E68356 #71E656 #56B9E6
split-complementary
#CB56E6 #B9E656 #56E683
monochromatic
#8E19A9 #BB21DE #CB56E6 #DB8BEE #ECC1F6

Accessibility & contrast

On white

3.49
#CB56E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#CB56E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56E6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56E6#FFFFFF#000000##000000
##CB56E61.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E81EA
Deuteranopia (green-blind)
#618DE2
Tritanopia (blue-blind)
#CC6E97
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb56e6;
/* rgb */ color: rgb(203, 86, 230);
/* oklch */ color: oklch(65.9% 0.226 319.7);
Tailwind
colors: {
  custom: {
    50: '#de8dee',
    500: '#cb56e6',
    950: '#000000',
  },
}
SCSS
$custom: #cb56e6;
$custom-light: #de8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56e6",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 288.75,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65904,
    "c": 0.22616,
    "h": 319.7
  },
  "luminance": 0.25065
}

Semantic roles & 50–950 ramp

primary
#CB56E6
secondary
#BBE6B1
accent
#D60F34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB56E6

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

Preview Lab → · Contrast checker → · Palette generator →

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