#CD56DB#CD56DB

#CD56DB is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.5% C 0.217 H 323.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CD56DB
RGBrgb(205, 86, 219)
HSLhsl(294, 65%, 60%)
HSVhsv(294, 61%, 86%)
CMYKcmyk(6.4%, 60.7%, 0%, 14.1%)
CIE-LABlab(56.83, 64.75, -46.72)
CIE-LCHlch(56.83, 79.84, 324.19°)
OKLaboklab(65.55% 0.1744 -0.1297)
OKLCHoklch(65.55% 0.217 323.3)
XYZxyz(41.2896, 24.7514, 69.6068)
Luminance0.2475 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56DB #64DB56
analogous
#8A56DB #CD56DB #DB56A7
triadic
#CD56DB #DBCD56 #56DBCD
tetradic
#CD56DB #DB8A56 #64DB56 #56A7DB
square
#CD56DB #DB8A56 #64DB56 #56A7DB
split-complementary
#CD56DB #A7DB56 #56DB8A
monochromatic
#8A2097 #B82BC9 #CD56DB #DC88E6 #EBBBF0

Accessibility & contrast

On white

3.53
#CD56DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#CD56DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56DB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56DB#FFFFFF#000000##000000
##CD56DB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#6A8DD8
Tritanopia (blue-blind)
#D06A91
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd56db;
/* rgb */ color: rgb(205, 86, 219);
/* oklch */ color: oklch(65.5% 0.217 323.3);
Tailwind
colors: {
  custom: {
    50: '#df8de7',
    500: '#cd56db',
    950: '#000000',
  },
}
SCSS
$custom: #cd56db;
$custom-light: #df8de7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56db",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 293.684,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65548,
    "c": 0.21732,
    "h": 323.3
  },
  "luminance": 0.24749
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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