#CD5DC2#CD5DC2

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

Color values

HEX#CD5DC2
RGBrgb(205, 93, 194)
HSLhsl(306, 53%, 58%)
HSVhsv(306, 55%, 80%)
CMYKcmyk(0%, 54.6%, 5.4%, 19.6%)
CIE-LABlab(56.79, 57.26, -32.57)
CIE-LCHlch(56.79, 65.88, 330.37°)
OKLaboklab(65.13% 0.163 -0.089)
OKLCHoklch(65.13% 0.186 331.4)
XYZxyz(38.8286, 24.7055, 53.7520)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DC2 #5DCD68
analogous
#A05DCD #CD5DC2 #CD5D8A
triadic
#CD5DC2 #C2CD5D #5DC2CD
tetradic
#CD5DC2 #CDA05D #5DCD68 #5D8ACD
square
#CD5DC2 #CDA05D #5DCD68 #5D8ACD
split-complementary
#CD5DC2 #8ACD5D #5DCDA0
monochromatic
#86297D #B538A9 #CD5DC2 #DB8CD4 #EABBE5

Accessibility & contrast

On white

3.53
#CD5DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CD5DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DC2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DC2#FFFFFF#000000##000000
##CD5DC21.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC5
Deuteranopia (green-blind)
#7A8EBF
Tritanopia (blue-blind)
#D46687
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cd5dc2;
/* rgb */ color: rgb(205, 93, 194);
/* oklch */ color: oklch(65.1% 0.186 331.4);
Tailwind
colors: {
  custom: {
    50: '#df90d4',
    500: '#cd5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dc2;
$custom-light: #df90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dc2",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 305.893,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65126,
    "c": 0.18574,
    "h": 331.4
  },
  "luminance": 0.24703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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