#CD5ED9#CD5ED9

#CD5ED9 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.4% C 0.204 H 323.7°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CD5ED9
RGBrgb(205, 94, 217)
HSLhsl(294, 62%, 61%)
HSVhsv(294, 57%, 85%)
CMYKcmyk(5.5%, 56.7%, 0%, 14.9%)
CIE-LABlab(58.03, 60.83, -43.69)
CIE-LCHlch(58.03, 74.89, 324.31°)
OKLaboklab(66.39% 0.1645 -0.121)
OKLCHoklch(66.39% 0.204 323.7)
XYZxyz(41.7028, 25.9965, 68.4534)
Luminance0.2599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ED9 #6AD95E
analogous
#8F5ED9 #CD5ED9 #D95EA7
triadic
#CD5ED9 #D9CD5E #5ED9CD
tetradic
#CD5ED9 #D98F5E #6AD95E #5EA7D9
square
#CD5ED9 #D98F5E #6AD95E #5EA7D9
split-complementary
#CD5ED9 #A7D95E #5ED98F
monochromatic
#8D2499 #BB30CA #CD5ED9 #DC90E5 #ECC1F0

Accessibility & contrast

On white

3.39
#CD5ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#CD5ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5ED9
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5ED9#FFFFFF#000000##000000
##CD5ED91.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A83DD
Deuteranopia (green-blind)
#7090D6
Tritanopia (blue-blind)
#D06F93
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5ed9;
/* rgb */ color: rgb(205, 94, 217);
/* oklch */ color: oklch(66.4% 0.204 323.7);
Tailwind
colors: {
  custom: {
    50: '#df91e5',
    500: '#cd5ed9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ed9;
$custom-light: #df91e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ed9",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 294.146,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.66391,
    "c": 0.20417,
    "h": 323.7
  },
  "luminance": 0.25994
}

Semantic roles & 50–950 ramp

primary
#CD5ED9
secondary
#B7E1B2
accent
#CA1C2D
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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