#CD5DC1#CD5DC1

#CD5DC1 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.1% C 0.185 H 331.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CD5DC1
RGBrgb(205, 93, 193)
HSLhsl(306, 53%, 58%)
HSVhsv(306, 55%, 80%)
CMYKcmyk(0%, 54.6%, 5.9%, 19.6%)
CIE-LABlab(56.74, 57.09, -32.07)
CIE-LCHlch(56.74, 65.48, 330.68°)
OKLaboklab(65.08% 0.1629 -0.0876)
OKLCHoklch(65.08% 0.185 331.7)
XYZxyz(38.7167, 24.6607, 53.1625)
Luminance0.2466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DC1 #5DCD69
analogous
#A15DCD #CD5DC1 #CD5D89
triadic
#CD5DC1 #C1CD5D #5DC1CD
tetradic
#CD5DC1 #CDA15D #5DCD69 #5D89CD
square
#CD5DC1 #CDA15D #5DCD69 #5D89CD
split-complementary
#CD5DC1 #89CD5D #5DCDA1
monochromatic
#86297C #B538A8 #CD5DC1 #DB8CD3 #EABBE5

Accessibility & contrast

On white

3.54
#CD5DC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CD5DC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DC1
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DC1#FFFFFF#000000##000000
##CD5DC11.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC4
Deuteranopia (green-blind)
#7B8EBE
Tritanopia (blue-blind)
#D56687
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5dc1;
/* rgb */ color: rgb(205, 93, 193);
/* oklch */ color: oklch(65.1% 0.185 331.7);
Tailwind
colors: {
  custom: {
    50: '#df90d4',
    500: '#cd5dc1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dc1;
$custom-light: #df90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dc1",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 306.429,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65079,
    "c": 0.18491,
    "h": 331.7
  },
  "luminance": 0.24658
}

Semantic roles & 50–950 ramp

primary
#CD5DC1
secondary
#ADD9B1
accent
#DC5B4C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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