#CB56DD#CB56DD

#CB56DD is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.4% C 0.218 H 322.1°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CB56DD
RGBrgb(203, 86, 221)
HSLhsl(292, 67%, 60%)
HSVhsv(292, 61%, 87%)
CMYKcmyk(8.1%, 61.1%, 0%, 13.3%)
CIE-LABlab(56.66, 64.63, -48.14)
CIE-LCHlch(56.66, 80.59, 323.32°)
OKLaboklab(65.4% 0.1722 -0.1339)
OKLCHoklch(65.4% 0.218 322.1)
XYZxyz(41.0062, 24.5746, 70.9760)
Luminance0.2457 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56DD #68DD56
analogous
#8756DD #CB56DD #DD56AB
triadic
#CB56DD #DDCB56 #56DDCB
tetradic
#CB56DD #DD8756 #68DD56 #56ABDD
square
#CB56DD #DD8756 #68DD56 #56ABDD
split-complementary
#CB56DD #ABDD56 #56DD87
monochromatic
#891F9A #B729CD #CB56DD #DB89E7 #EABCF2

Accessibility & contrast

On white

3.55
#CB56DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CB56DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56DD
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56DD#FFFFFF#000000##000000
##CB56DD1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#397FE1
Deuteranopia (green-blind)
#678CDA
Tritanopia (blue-blind)
#CD6B92
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb56dd;
/* rgb */ color: rgb(203, 86, 221);
/* oklch */ color: oklch(65.4% 0.218 322.1);
Tailwind
colors: {
  custom: {
    50: '#de8de8',
    500: '#cb56dd',
    950: '#000000',
  },
}
SCSS
$custom: #cb56dd;
$custom-light: #de8de8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56dd",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 292,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65399,
    "c": 0.21812,
    "h": 322.1
  },
  "luminance": 0.24573
}

Semantic roles & 50–950 ramp

primary
#CB56DD
secondary
#B4E1AE
accent
#CE1730
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB56DD

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

Preview Lab → · Contrast checker → · Palette generator →

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