#CC56DB#CC56DB

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

Color values

HEX#CC56DB
RGBrgb(204, 86, 219)
HSLhsl(293, 65%, 60%)
HSVhsv(293, 61%, 86%)
CMYKcmyk(6.8%, 60.7%, 0%, 14.1%)
CIE-LABlab(56.69, 64.50, -46.95)
CIE-LCHlch(56.69, 79.78, 323.95°)
OKLaboklab(65.42% 0.1732 -0.1304)
OKLCHoklch(65.42% 0.217 323)
XYZxyz(41.0146, 24.6096, 69.5939)
Luminance0.2461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC56DB #65DB56
analogous
#8A56DB #CC56DB #DB56A8
triadic
#CC56DB #DBCC56 #56DBCC
tetradic
#CC56DB #DB8A56 #65DB56 #56A8DB
square
#CC56DB #DB8A56 #65DB56 #56A8DB
split-complementary
#CC56DB #A8DB56 #56DB8A
monochromatic
#892097 #B72BC9 #CC56DB #DB88E6 #EABBF0

Accessibility & contrast

On white

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

On black

5.92
#CC56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC56DB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC56DB#FFFFFF#000000##000000
##CC56DB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#698DD8
Tritanopia (blue-blind)
#CF6A91
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc56db;
/* rgb */ color: rgb(204, 86, 219);
/* oklch */ color: oklch(65.4% 0.217 323.0);
Tailwind
colors: {
  custom: {
    50: '#df8de7',
    500: '#cc56db',
    950: '#000000',
  },
}
SCSS
$custom: #cc56db;
$custom-light: #df8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc56db",
  "rgb": {
    "r": 204,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 293.233,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65419,
    "c": 0.21683,
    "h": 323
  },
  "luminance": 0.24607
}

Semantic roles & 50–950 ramp

primary
#CC56DB
secondary
#B2E0AD
accent
#E84053
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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