#CB56D8#CB56D8

#CB56D8 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.1% C 0.214 H 323.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CB56D8
RGBrgb(203, 86, 216)
HSLhsl(294, 63%, 59%)
HSVhsv(294, 60%, 85%)
CMYKcmyk(6%, 60.2%, 0%, 15.3%)
CIE-LABlab(56.40, 63.72, -45.73)
CIE-LCHlch(56.40, 78.43, 324.34°)
OKLaboklab(65.13% 0.172 -0.1269)
OKLCHoklch(65.13% 0.214 323.6)
XYZxyz(40.3499, 24.3121, 67.5198)
Luminance0.2431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56D8 #63D856
analogous
#8A56D8 #CB56D8 #D856A4
triadic
#CB56D8 #D8CB56 #56D8CB
tetradic
#CB56D8 #D88A56 #63D856 #56A4D8
square
#CB56D8 #D88A56 #63D856 #56A4D8
split-complementary
#CB56D8 #A4D856 #56D88A
monochromatic
#872292 #B52DC4 #CB56D8 #DA88E3 #EAB9EF

Accessibility & contrast

On white

3.58
#CB56D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#CB56D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56D8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56D8#FFFFFF#000000##000000
##CB56D81.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7EDC
Deuteranopia (green-blind)
#6A8CD5
Tritanopia (blue-blind)
#CE698F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cb56d8;
/* rgb */ color: rgb(203, 86, 216);
/* oklch */ color: oklch(65.1% 0.214 323.6);
Tailwind
colors: {
  custom: {
    50: '#de8ce4',
    500: '#cb56d8',
    950: '#000000',
  },
}
SCSS
$custom: #cb56d8;
$custom-light: #de8ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56d8",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 216
  },
  "hsl": {
    "h": 294,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65127,
    "c": 0.21371,
    "h": 323.6
  },
  "luminance": 0.2431
}

Semantic roles & 50–950 ramp

primary
#CB56D8
secondary
#B1DEAB
accent
#E64253
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CB56D8

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

Preview Lab → · Contrast checker → · Palette generator →

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