#CD5DC4#CD5DC4

#CD5DC4 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.187 H 330.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CD5DC4
RGBrgb(205, 93, 196)
HSLhsl(305, 53%, 58%)
HSVhsv(305, 55%, 80%)
CMYKcmyk(0%, 54.6%, 4.4%, 19.6%)
CIE-LABlab(56.88, 57.60, -33.58)
CIE-LCHlch(56.88, 66.67, 329.76°)
OKLaboklab(65.22% 0.1633 -0.0919)
OKLCHoklch(65.22% 0.187 330.6)
XYZxyz(39.0547, 24.7959, 54.9429)
Luminance0.2479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DC4 #5DCD66
analogous
#9E5DCD #CD5DC4 #CD5D8C
triadic
#CD5DC4 #C4CD5D #5DC4CD
tetradic
#CD5DC4 #CD9E5D #5DCD66 #5D8CCD
square
#CD5DC4 #CD9E5D #5DCD66 #5D8CCD
split-complementary
#CD5DC4 #8CCD5D #5DCD9E
monochromatic
#86297F #B538AB #CD5DC4 #DB8CD5 #EABBE6

Accessibility & contrast

On white

3.52
#CD5DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CD5DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DC4
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DC4#FFFFFF#000000##000000
##CD5DC41.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC7
Deuteranopia (green-blind)
#798EC1
Tritanopia (blue-blind)
#D46788
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5dc4;
/* rgb */ color: rgb(205, 93, 196);
/* oklch */ color: oklch(65.2% 0.187 330.6);
Tailwind
colors: {
  custom: {
    50: '#df90d6',
    500: '#cd5dc4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dc4;
$custom-light: #df90d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dc4",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 196
  },
  "hsl": {
    "h": 304.821,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6522,
    "c": 0.1874,
    "h": 330.6
  },
  "luminance": 0.24793
}

Semantic roles & 50–950 ramp

primary
#CD5DC4
secondary
#ADD9B0
accent
#DC574C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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