#CD5DD1#CD5DD1

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

Color values

HEX#CD5DD1
RGBrgb(205, 93, 209)
HSLhsl(298, 56%, 59%)
HSVhsv(298, 56%, 82%)
CMYKcmyk(1.9%, 55.5%, 0%, 18%)
CIE-LABlab(57.48, 59.85, -40.04)
CIE-LCHlch(57.48, 72.01, 326.22°)
OKLaboklab(65.86% 0.165 -0.1104)
OKLCHoklch(65.86% 0.199 326.2)
XYZxyz(40.5990, 25.4136, 63.0761)
Luminance0.2541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DD1 #61D15D
analogous
#935DD1 #CD5DD1 #D15D9B
triadic
#CD5DD1 #D1CD5D #5DD1CD
tetradic
#CD5DD1 #D1935D #61D15D #5D9BD1
square
#CD5DD1 #D1935D #61D15D #5D9BD1
split-complementary
#CD5DD1 #9BD15D #5DD193
monochromatic
#88288C #B735BC #CD5DD1 #DC8DDF #EABCEC

Accessibility & contrast

On white

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

On black

6.08
#CD5DD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DD1
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DD1#FFFFFF#000000##000000
##CD5DD11.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F81D5
Deuteranopia (green-blind)
#748FCE
Tritanopia (blue-blind)
#D26B8E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5dd1;
/* rgb */ color: rgb(205, 93, 209);
/* oklch */ color: oklch(65.9% 0.199 326.2);
Tailwind
colors: {
  custom: {
    50: '#df90df',
    500: '#cd5dd1',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dd1;
$custom-light: #df90df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dd1",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 209
  },
  "hsl": {
    "h": 297.931,
    "s": 55.769,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65856,
    "c": 0.19854,
    "h": 326.2
  },
  "luminance": 0.25411
}

Semantic roles & 50–950 ramp

primary
#CD5DD1
secondary
#B0DCAE
accent
#DF494E
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD5DD1

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

Preview Lab → · Contrast checker → · Palette generator →

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