#CD5DD2#CD5DD2

#CD5DD2 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.9% C 0.199 H 325.9°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CD5DD2
RGBrgb(205, 93, 210)
HSLhsl(297, 57%, 59%)
HSVhsv(297, 56%, 82%)
CMYKcmyk(2.4%, 55.7%, 0%, 17.6%)
CIE-LABlab(57.52, 60.02, -40.53)
CIE-LCHlch(57.52, 72.43, 325.97°)
OKLaboklab(65.91% 0.1651 -0.1119)
OKLCHoklch(65.91% 0.199 325.9)
XYZxyz(40.7232, 25.4633, 63.7302)
Luminance0.2546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DD2 #62D25D
analogous
#935DD2 #CD5DD2 #D25D9D
triadic
#CD5DD2 #D2CD5D #5DD2CD
tetradic
#CD5DD2 #D2935D #62D25D #5D9DD2
square
#CD5DD2 #D2935D #62D25D #5D9DD2
split-complementary
#CD5DD2 #9DD25D #5DD293
monochromatic
#89278D #B735BD #CD5DD2 #DC8DDF #EBBDED

Accessibility & contrast

On white

3.45
#CD5DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#CD5DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DD2
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DD2#FFFFFF#000000##000000
##CD5DD21.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E81D6
Deuteranopia (green-blind)
#738FCF
Tritanopia (blue-blind)
#D26C8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5dd2;
/* rgb */ color: rgb(205, 93, 210);
/* oklch */ color: oklch(65.9% 0.199 325.9);
Tailwind
colors: {
  custom: {
    50: '#df90e0',
    500: '#cd5dd2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dd2;
$custom-light: #df90e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dd2",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 297.436,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.65907,
    "c": 0.19941,
    "h": 325.9
  },
  "luminance": 0.25461
}

Semantic roles & 50–950 ramp

primary
#CD5DD2
secondary
#B1DCAF
accent
#E0484E
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD5DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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