#CD56EA#CD56EA

#CD56EA is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.4% C 0.231 H 319.2°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CD56EA
RGBrgb(205, 86, 234)
HSLhsl(288, 78%, 63%)
HSVhsv(288, 63%, 92%)
CMYKcmyk(12.4%, 63.2%, 0%, 8.2%)
CIE-LABlab(57.63, 67.50, -53.88)
CIE-LCHlch(57.63, 86.37, 321.41°)
OKLaboklab(66.39% 0.1747 -0.1506)
OKLCHoklch(66.39% 0.231 319.2)
XYZxyz(43.3540, 25.5772, 80.4792)
Luminance0.2557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56EA #73EA56
analogous
#8356EA #CD56EA #EA56BD
triadic
#CD56EA #EACD56 #56EACD
tetradic
#CD56EA #EA8356 #73EA56 #56BDEA
square
#CD56EA #EA8356 #73EA56 #56BDEA
split-complementary
#CD56EA #BDEA56 #56EA83
monochromatic
#9216B0 #BD20E3 #CD56EA #DD8CF1 #EDC3F8

Accessibility & contrast

On white

3.43
#CD56EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CD56EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56EA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56EA#FFFFFF#000000##000000
##CD56EA1.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2982EE
Deuteranopia (green-blind)
#608FE6
Tritanopia (blue-blind)
#CD6F99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd56ea;
/* rgb */ color: rgb(205, 86, 234);
/* oklch */ color: oklch(66.4% 0.231 319.2);
Tailwind
colors: {
  custom: {
    50: '#e08df1',
    500: '#cd56ea',
    950: '#000000',
  },
}
SCSS
$custom: #cd56ea;
$custom-light: #e08df1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56ea",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 288.243,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66387,
    "c": 0.23062,
    "h": 319.2
  },
  "luminance": 0.25575
}

Semantic roles & 50–950 ramp

primary
#CD56EA
secondary
#BEE9B3
accent
#DA0B34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CD56EA

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

Preview Lab → · Contrast checker → · Palette generator →

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