#CD5DD9#CD5DD9

#CD5DD9 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.3% C 0.206 H 323.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CD5DD9
RGBrgb(205, 93, 217)
HSLhsl(294, 62%, 61%)
HSVhsv(294, 57%, 85%)
CMYKcmyk(5.5%, 57.1%, 0%, 14.9%)
CIE-LABlab(57.87, 61.28, -43.95)
CIE-LCHlch(57.87, 75.42, 324.35°)
OKLaboklab(66.27% 0.1657 -0.1218)
OKLCHoklch(66.27% 0.206 323.7)
XYZxyz(41.6144, 25.8198, 68.4239)
Luminance0.2582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5DD9 #69D95D
analogous
#8F5DD9 #CD5DD9 #D95DA7
triadic
#CD5DD9 #D9CD5D #5DD9CD
tetradic
#CD5DD9 #D98F5D #69D95D #5DA7D9
square
#CD5DD9 #D98F5D #69D95D #5DA7D9
split-complementary
#CD5DD9 #A7D95D #5DD98F
monochromatic
#8D2498 #BB2FCA #CD5DD9 #DC8FE5 #ECC0F0

Accessibility & contrast

On white

3.41
#CD5DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CD5DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5DD9
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5DD9#FFFFFF#000000##000000
##CD5DD91.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4982DD
Deuteranopia (green-blind)
#6F90D6
Tritanopia (blue-blind)
#D06E92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5dd9;
/* rgb */ color: rgb(205, 93, 217);
/* oklch */ color: oklch(66.3% 0.206 323.7);
Tailwind
colors: {
  custom: {
    50: '#df91e5',
    500: '#cd5dd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5dd9;
$custom-light: #df91e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5dd9",
  "rgb": {
    "r": 205,
    "g": 93,
    "b": 217
  },
  "hsl": {
    "h": 294.194,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66268,
    "c": 0.20563,
    "h": 323.7
  },
  "luminance": 0.25818
}

Semantic roles & 50–950 ramp

primary
#CD5DD9
secondary
#B6E0B1
accent
#CA1C2D
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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