#CD5ED5#CD5ED5

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

Color values

HEX#CD5ED5
RGBrgb(205, 94, 213)
HSLhsl(296, 59%, 60%)
HSVhsv(296, 56%, 84%)
CMYKcmyk(3.8%, 55.9%, 0%, 16.5%)
CIE-LABlab(57.84, 60.10, -41.74)
CIE-LCHlch(57.84, 73.17, 325.22°)
OKLaboklab(66.18% 0.1641 -0.1154)
OKLCHoklch(66.18% 0.201 324.9)
XYZxyz(41.1888, 25.7909, 65.7465)
Luminance0.2579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ED5 #66D55E
analogous
#915ED5 #CD5ED5 #D55EA2
triadic
#CD5ED5 #D5CD5E #5ED5CD
tetradic
#CD5ED5 #D5915E #66D55E #5EA2D5
square
#CD5ED5 #D5915E #66D55E #5EA2D5
split-complementary
#CD5ED5 #A2D55E #5ED591
monochromatic
#8B2692 #B933C3 #CD5ED5 #DC8FE2 #EBBFEE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD5ED5#FFFFFF#000000##000000
##CD5ED51.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)
#4D82D9
Deuteranopia (green-blind)
#7290D2
Tritanopia (blue-blind)
#D16E91
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5ed5;
/* rgb */ color: rgb(205, 94, 213);
/* oklch */ color: oklch(66.2% 0.201 324.9);
Tailwind
colors: {
  custom: {
    50: '#df91e2',
    500: '#cd5ed5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ed5;
$custom-light: #df91e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ed5",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 213
  },
  "hsl": {
    "h": 295.966,
    "s": 58.621,
    "l": 60.196
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.20059,
    "h": 324.9
  },
  "luminance": 0.25789
}

Semantic roles & 50–950 ramp

primary
#CD5ED5
secondary
#B4DEB1
accent
#C61F2A
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD5ED5

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

Preview Lab → · Contrast checker → · Palette generator →

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