#CD5CD9#CD5CD9

#CD5CD9 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.1% C 0.207 H 323.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#CD5CD9
RGBrgb(205, 92, 217)
HSLhsl(294, 62%, 61%)
HSVhsv(294, 58%, 85%)
CMYKcmyk(5.5%, 57.6%, 0%, 14.9%)
CIE-LABlab(57.70, 61.74, -44.22)
CIE-LCHlch(57.70, 75.94, 324.39°)
OKLaboklab(66.15% 0.167 -0.1225)
OKLCHoklch(66.15% 0.207 323.7)
XYZxyz(41.5272, 25.6454, 68.3949)
Luminance0.2564 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CD9 #68D95C
analogous
#8E5CD9 #CD5CD9 #D95CA6
triadic
#CD5CD9 #D9CD5C #5CD9CD
tetradic
#CD5CD9 #D98E5C #68D95C #5CA6D9
square
#CD5CD9 #D98E5C #68D95C #5CA6D9
split-complementary
#CD5CD9 #A6D95C #5CD98E
monochromatic
#8C2397 #BA2FC9 #CD5CD9 #DC8EE5 #EBBFF0

Accessibility & contrast

On white

3.43
#CD5CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#CD5CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CD9
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CD9#FFFFFF#000000##000000
##CD5CD91.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4782DD
Deuteranopia (green-blind)
#6F8FD6
Tritanopia (blue-blind)
#D16D92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5cd9;
/* rgb */ color: rgb(205, 92, 217);
/* oklch */ color: oklch(66.1% 0.207 323.7);
Tailwind
colors: {
  custom: {
    50: '#df90e5',
    500: '#cd5cd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cd9;
$custom-light: #df90e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cd9",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 294.24,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.66146,
    "c": 0.20709,
    "h": 323.7
  },
  "luminance": 0.25643
}

Semantic roles & 50–950 ramp

primary
#CD5CD9
secondary
#B5E0B1
accent
#CA1C2C
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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