#CD5CD5#CD5CD5

#CD5CD5 is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 65.9% C 0.204 H 325.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#CD5CD5
RGBrgb(205, 92, 213)
HSLhsl(296, 59%, 60%)
HSVhsv(296, 57%, 84%)
CMYKcmyk(3.8%, 56.8%, 0%, 16.5%)
CIE-LABlab(57.50, 61.02, -42.27)
CIE-LCHlch(57.50, 74.23, 325.29°)
OKLaboklab(65.94% 0.1666 -0.1169)
OKLCHoklch(65.94% 0.204 325)
XYZxyz(41.0133, 25.4398, 65.6880)
Luminance0.2544 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5CD5 #64D55C
analogous
#915CD5 #CD5CD5 #D55CA1
triadic
#CD5CD5 #D5CD5C #5CD5CD
tetradic
#CD5CD5 #D5915C #64D55C #5CA1D5
square
#CD5CD5 #D5915C #64D55C #5CA1D5
split-complementary
#CD5CD5 #A1D55C #5CD591
monochromatic
#8A2591 #B832C2 #CD5CD5 #DC8DE2 #EBBDEE

Accessibility & contrast

On white

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

On black

6.09
#CD5CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5CD5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5CD5#FFFFFF#000000##000000
##CD5CD51.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A81D9
Deuteranopia (green-blind)
#718FD2
Tritanopia (blue-blind)
#D16C90
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cd5cd5;
/* rgb */ color: rgb(205, 92, 213);
/* oklch */ color: oklch(65.9% 0.204 325.0);
Tailwind
colors: {
  custom: {
    50: '#df90e2',
    500: '#cd5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5cd5;
$custom-light: #df90e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5cd5",
  "rgb": {
    "r": 205,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 296.033,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65938,
    "c": 0.20353,
    "h": 325
  },
  "luminance": 0.25438
}

Semantic roles & 50–950 ramp

primary
#CD5CD5
secondary
#B2DEAF
accent
#E24650
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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