#CD56CB#CD56CB

#CD56CB is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.7% C 0.204 H 328.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CD56CB
RGBrgb(205, 86, 203)
HSLhsl(301, 54%, 57%)
HSVhsv(301, 58%, 80%)
CMYKcmyk(0%, 58%, 1%, 19.6%)
CIE-LABlab(56.04, 61.94, -38.89)
CIE-LCHlch(56.04, 73.14, 327.88°)
OKLaboklab(64.71% 0.1732 -0.1071)
OKLCHoklch(64.71% 0.204 328.3)
XYZxyz(39.2836, 23.9490, 59.0418)
Luminance0.2395 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD56CB #56CD58
analogous
#9356CD #CD56CB #CD5690
triadic
#CD56CB #CBCD56 #56CBCD
tetradic
#CD56CB #CD9356 #56CD58 #5690CD
square
#CD56CB #CD9356 #56CD58 #5690CD
split-complementary
#CD56CB #90CD56 #56CD93
monochromatic
#822681 #B134AF #CD56CB #DB85DA #E9B4E8

Accessibility & contrast

On white

3.63
#CD56CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CD56CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD56CB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD56CB#FFFFFF#000000##000000
##CD56CB1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCF
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#D36489
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd56cb;
/* rgb */ color: rgb(205, 86, 203);
/* oklch */ color: oklch(64.7% 0.204 328.3);
Tailwind
colors: {
  custom: {
    50: '#df8cdb',
    500: '#cd56cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd56cb;
$custom-light: #df8cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd56cb",
  "rgb": {
    "r": 205,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 301.008,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64711,
    "c": 0.20362,
    "h": 328.3
  },
  "luminance": 0.23947
}

Semantic roles & 50–950 ramp

primary
#CD56CB
secondary
#A7D8A8
accent
#DE4D4A
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160D15
muted
#847D83

Preview Lab

Preview with #CD56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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