#CD5DC6#CD5DC6

#CD5DC6 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.3% C 0.189 H 329.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CD5DC6
RGBrgb(205, 93, 198)
HSLhsl(304, 53%, 58%)
HSVhsv(304, 55%, 80%)
CMYKcmyk(0%, 54.6%, 3.4%, 19.6%)
CIE-LABlab(56.97, 57.94, -34.58)
CIE-LCHlch(56.97, 67.47, 329.17°)
OKLaboklab(65.32% 0.1636 -0.0947)
OKLCHoklch(65.32% 0.189 329.9)
XYZxyz(39.2839, 24.8876, 56.1498)
Luminance0.2488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DC6 #5DCD64
analogous
#9C5DCD #CD5DC6 #CD5D8E
triadic
#CD5DC6 #C6CD5D #5DC6CD
tetradic
#CD5DC6 #CD9C5D #5DCD64 #5D8ECD
square
#CD5DC6 #CD9C5D #5DCD64 #5D8ECD
split-complementary
#CD5DC6 #8ECD5D #5DCD9C
monochromatic
#862980 #B538AD #CD5DC6 #DB8CD6 #EABBE7

Accessibility & contrast

On white

3.51
#CD5DC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CD5DC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DC6
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DC6#FFFFFF#000000##000000
##CD5DC61.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FC9
Deuteranopia (green-blind)
#798EC3
Tritanopia (blue-blind)
#D46889
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd5dc6;
/* rgb */ color: rgb(205, 93, 198);
/* oklch */ color: oklch(65.3% 0.189 329.9);
Tailwind
colors: {
  custom: {
    50: '#df90d7',
    500: '#cd5dc6',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dc6;
$custom-light: #df90d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dc6",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 198
  },
  "hsl": {
    "h": 303.75,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65315,
    "c": 0.18907,
    "h": 329.9
  },
  "luminance": 0.24885
}

Semantic roles & 50–950 ramp

primary
#CD5DC6
secondary
#ADD9AF
accent
#DC554C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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