#CB56DB#CB56DB

#CB56DB is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.3% C 0.216 H 322.7°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#CB56DB
RGBrgb(203, 86, 219)
HSLhsl(293, 65%, 60%)
HSVhsv(293, 61%, 86%)
CMYKcmyk(7.3%, 60.7%, 0%, 14.1%)
CIE-LABlab(56.55, 64.26, -47.18)
CIE-LCHlch(56.55, 79.72, 323.72°)
OKLaboklab(65.29% 0.1721 -0.1311)
OKLCHoklch(65.29% 0.216 322.7)
XYZxyz(40.7413, 24.4687, 69.5811)
Luminance0.2447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB56DB #66DB56
analogous
#8956DB #CB56DB #DB56A9
triadic
#CB56DB #DBCB56 #56DBCB
tetradic
#CB56DB #DB8956 #66DB56 #56A9DB
square
#CB56DB #DB8956 #66DB56 #56A9DB
split-complementary
#CB56DB #A9DB56 #56DB89
monochromatic
#882097 #B62BC9 #CB56DB #DB88E6 #EABBF0

Accessibility & contrast

On white

3.56
#CB56DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#CB56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB56DB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB56DB#FFFFFF#000000##000000
##CB56DB1.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FDF
Deuteranopia (green-blind)
#688CD8
Tritanopia (blue-blind)
#CE6A91
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cb56db;
/* rgb */ color: rgb(203, 86, 219);
/* oklch */ color: oklch(65.3% 0.216 322.7);
Tailwind
colors: {
  custom: {
    50: '#de8ce7',
    500: '#cb56db',
    950: '#000000',
  },
}
SCSS
$custom: #cb56db;
$custom-light: #de8ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb56db",
  "rgb": {
    "r": 203,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 292.782,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65289,
    "c": 0.21634,
    "h": 322.7
  },
  "luminance": 0.24467
}

Semantic roles & 50–950 ramp

primary
#CB56DB
secondary
#B3E0AD
accent
#E84054
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CB56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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