#CD5CD2#CD5CD2

#CD5CD2 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 65.8% C 0.201 H 325.9°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CD5CD2
RGBrgb(205, 92, 210)
HSLhsl(297, 57%, 59%)
HSVhsv(297, 56%, 82%)
CMYKcmyk(2.4%, 56.2%, 0%, 17.6%)
CIE-LABlab(57.36, 60.48, -40.80)
CIE-LCHlch(57.36, 72.95, 326.00°)
OKLaboklab(65.78% 0.1664 -0.1126)
OKLCHoklch(65.78% 0.201 325.9)
XYZxyz(40.6360, 25.2889, 63.7011)
Luminance0.2529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CD2 #61D25C
analogous
#925CD2 #CD5CD2 #D25C9C
triadic
#CD5CD2 #D2CD5C #5CD2CD
tetradic
#CD5CD2 #D2925C #61D25C #5C9CD2
square
#CD5CD2 #D2925C #61D25C #5C9CD2
split-complementary
#CD5CD2 #9CD25C #5CD292
monochromatic
#88278D #B734BD #CD5CD2 #DC8CDF #EABCEC

Accessibility & contrast

On white

3.47
#CD5CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CD5CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CD2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CD2#FFFFFF#000000##000000
##CD5CD21.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D81D6
Deuteranopia (green-blind)
#728FCF
Tritanopia (blue-blind)
#D26B8F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5cd2;
/* rgb */ color: rgb(205, 92, 210);
/* oklch */ color: oklch(65.8% 0.201 325.9);
Tailwind
colors: {
  custom: {
    50: '#df90e0',
    500: '#cd5cd2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cd2;
$custom-light: #df90e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cd2",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 297.458,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65784,
    "c": 0.20089,
    "h": 325.9
  },
  "luminance": 0.25287
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD5CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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