#CD5ED4#CD5ED4

#CD5ED4 is a light, vivid purple. Relative luminance 0.257; OKLCH L 66.1% C 0.200 H 325.2°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#CD5ED4
RGBrgb(205, 94, 212)
HSLhsl(296, 58%, 60%)
HSVhsv(296, 56%, 83%)
CMYKcmyk(3.3%, 55.7%, 0%, 16.9%)
CIE-LABlab(57.79, 59.92, -41.25)
CIE-LCHlch(57.79, 72.75, 325.46°)
OKLaboklab(66.13% 0.164 -0.1139)
OKLCHoklch(66.13% 0.2 325.2)
XYZxyz(41.0623, 25.7403, 65.0801)
Luminance0.2574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5ED4 #65D45E
analogous
#925ED4 #CD5ED4 #D45EA0
triadic
#CD5ED4 #D4CD5E #5ED4CD
tetradic
#CD5ED4 #D4925E #65D45E #5EA0D4
square
#CD5ED4 #D4925E #65D45E #5EA0D4
split-complementary
#CD5ED4 #A0D45E #5ED492
monochromatic
#8B2791 #B934C1 #CD5ED4 #DC8EE1 #EBBFEE

Accessibility & contrast

On white

3.42
#CD5ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#CD5ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5ED4
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5ED4#FFFFFF#000000##000000
##CD5ED41.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D8
Deuteranopia (green-blind)
#7390D1
Tritanopia (blue-blind)
#D16D90
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5ed4;
/* rgb */ color: rgb(205, 94, 212);
/* oklch */ color: oklch(66.1% 0.200 325.2);
Tailwind
colors: {
  custom: {
    50: '#df91e1',
    500: '#cd5ed4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ed4;
$custom-light: #df91e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ed4",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 296.441,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.66133,
    "c": 0.1997,
    "h": 325.2
  },
  "luminance": 0.25738
}

Semantic roles & 50–950 ramp

primary
#CD5ED4
secondary
#B3DEB0
accent
#E14750
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #CD5ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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