#CB56E8#CB56E8

#CB56E8 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.228 H 319.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CB56E8
RGBrgb(203, 86, 232)
HSLhsl(288, 76%, 62%)
HSVhsv(288, 63%, 91%)
CMYKcmyk(12.5%, 62.9%, 0%, 9%)
CIE-LABlab(57.25, 66.67, -53.38)
CIE-LCHlch(57.25, 85.41, 321.31°)
OKLaboklab(66.02% 0.1724 -0.1492)
OKLCHoklch(66.02% 0.228 319.1)
XYZxyz(42.5200, 25.1802, 78.9488)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56E8 #73E856
analogous
#8256E8 #CB56E8 #E856BC
triadic
#CB56E8 #E8CB56 #56E8CB
tetradic
#CB56E8 #E88256 #73E856 #56BCE8
square
#CB56E8 #E88256 #73E856 #56BCE8
split-complementary
#CB56E8 #BCE856 #56E882
monochromatic
#8F17AC #BA20E1 #CB56E8 #DC8CEF #ECC2F7

Accessibility & contrast

On white

3.48
#CB56E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CB56E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56E8
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56E8#FFFFFF#000000##000000
##CB56E81.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82EC
Deuteranopia (green-blind)
#5F8DE4
Tritanopia (blue-blind)
#CB6F98
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb56e8;
/* rgb */ color: rgb(203, 86, 232);
/* oklch */ color: oklch(66.0% 0.228 319.1);
Tailwind
colors: {
  custom: {
    50: '#de8df0',
    500: '#cb56e8',
    950: '#000000',
  },
}
SCSS
$custom: #cb56e8;
$custom-light: #de8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56e8",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 288.082,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66019,
    "c": 0.22797,
    "h": 319.1
  },
  "luminance": 0.25178
}

Semantic roles & 50–950 ramp

primary
#CB56E8
secondary
#BDE8B2
accent
#D80D36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CB56E8

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

Preview Lab → · Contrast checker → · Palette generator →

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