#CD56E3#CD56E3

#CD56E3 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.0% C 0.224 H 321.1°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CD56E3
RGBrgb(205, 86, 227)
HSLhsl(291, 72%, 61%)
HSVhsv(291, 62%, 89%)
CMYKcmyk(9.7%, 62.1%, 0%, 11%)
CIE-LABlab(57.25, 66.20, -50.56)
CIE-LCHlch(57.25, 83.30, 322.63°)
OKLaboklab(65.99% 0.1746 -0.1409)
OKLCHoklch(65.99% 0.224 321.1)
XYZxyz(42.3682, 25.1828, 75.2872)
Luminance0.2518 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56E3 #6CE356
analogous
#8756E3 #CD56E3 #E356B3
triadic
#CD56E3 #E3CD56 #56E3CD
tetradic
#CD56E3 #E38756 #6CE356 #56B3E3
square
#CD56E3 #E38756 #6CE356 #56B3E3
split-complementary
#CD56E3 #B3E356 #56E387
monochromatic
#8E1BA4 #BC24D8 #CD56E3 #DD8BEC #ECBFF4

Accessibility & contrast

On white

3.48
#CD56E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CD56E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56E3
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56E3#FFFFFF#000000##000000
##CD56E31.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3381E7
Deuteranopia (green-blind)
#658EDF
Tritanopia (blue-blind)
#CF6D95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd56e3;
/* rgb */ color: rgb(205, 86, 227);
/* oklch */ color: oklch(66.0% 0.224 321.1);
Tailwind
colors: {
  custom: {
    50: '#e08dec',
    500: '#cd56e3',
    950: '#000000',
  },
}
SCSS
$custom: #cd56e3;
$custom-light: #e08dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56e3",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 227
  },
  "hsl": {
    "h": 290.638,
    "s": 71.574,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6599,
    "c": 0.22438,
    "h": 321.1
  },
  "luminance": 0.25181
}

Semantic roles & 50–950 ramp

primary
#CD56E3
secondary
#B8E5B0
accent
#D41230
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD56E3

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

Preview Lab → · Contrast checker → · Palette generator →

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