#CB56EC#CB56EC

#CB56EC is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.3% C 0.232 H 318.1°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CB56EC
RGBrgb(203, 86, 236)
HSLhsl(287, 80%, 63%)
HSVhsv(287, 64%, 93%)
CMYKcmyk(14%, 63.6%, 0%, 7.5%)
CIE-LABlab(57.47, 67.43, -55.27)
CIE-LCHlch(57.47, 87.18, 320.66°)
OKLaboklab(66.25% 0.1723 -0.1547)
OKLCHoklch(66.25% 0.232 318.1)
XYZxyz(43.0946, 25.4100, 81.9752)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56EC #77EC56
analogous
#8056EC #CB56EC #EC56C2
triadic
#CB56EC #ECCB56 #56ECCB
tetradic
#CB56EC #EC8056 #77EC56 #56C2EC
square
#CB56EC #EC8056 #77EC56 #56C2EC
split-complementary
#CB56EC #C2EC56 #56EC80
monochromatic
#9014B3 #BA1FE6 #CB56EC #DC8DF2 #EDC4F8

Accessibility & contrast

On white

3.45
#CB56EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CB56EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56EC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56EC#FFFFFF#000000##000000
##CB56EC1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2382F1
Deuteranopia (green-blind)
#5C8EE8
Tritanopia (blue-blind)
#CA719A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cb56ec;
/* rgb */ color: rgb(203, 86, 236);
/* oklch */ color: oklch(66.3% 0.232 318.1);
Tailwind
colors: {
  custom: {
    50: '#de8df3',
    500: '#cb56ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb56ec;
$custom-light: #de8df3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56ec",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 286.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66251,
    "c": 0.23158,
    "h": 318.1
  },
  "luminance": 0.25408
}

Semantic roles & 50–950 ramp

primary
#CB56EC
secondary
#C0EAB4
accent
#DC0938
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB56EC

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

Preview Lab → · Contrast checker → · Palette generator →

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