#CD5DC7#CD5DC7

#CD5DC7 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.4% C 0.190 H 329.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CD5DC7
RGBrgb(205, 93, 199)
HSLhsl(303, 53%, 58%)
HSVhsv(303, 55%, 80%)
CMYKcmyk(0%, 54.6%, 2.9%, 19.6%)
CIE-LABlab(57.01, 58.11, -35.08)
CIE-LCHlch(57.01, 67.88, 328.88°)
OKLaboklab(65.36% 0.1638 -0.0962)
OKLCHoklch(65.36% 0.19 329.6)
XYZxyz(39.3996, 24.9339, 56.7592)
Luminance0.2493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DC7 #5DCD63
analogous
#9B5DCD #CD5DC7 #CD5D8F
triadic
#CD5DC7 #C7CD5D #5DC7CD
tetradic
#CD5DC7 #CD9B5D #5DCD63 #5D8FCD
square
#CD5DC7 #CD9B5D #5DCD63 #5D8FCD
split-complementary
#CD5DC7 #8FCD5D #5DCD9B
monochromatic
#862981 #B538AE #CD5DC7 #DB8CD7 #EABBE7

Accessibility & contrast

On white

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

On black

5.99
#CD5DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DC7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DC7#FFFFFF#000000##000000
##CD5DC71.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCA
Deuteranopia (green-blind)
#788EC4
Tritanopia (blue-blind)
#D46889
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd5dc7;
/* rgb */ color: rgb(205, 93, 199);
/* oklch */ color: oklch(65.4% 0.190 329.6);
Tailwind
colors: {
  custom: {
    50: '#df90d8',
    500: '#cd5dc7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dc7;
$custom-light: #df90d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dc7",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 303.214,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65363,
    "c": 0.18992,
    "h": 329.6
  },
  "luminance": 0.24931
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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