#CD5EC4#CD5EC4

#CD5EC4 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.3% C 0.186 H 330.6°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CD5EC4
RGBrgb(205, 94, 196)
HSLhsl(305, 53%, 59%)
HSVhsv(305, 54%, 80%)
CMYKcmyk(0%, 54.1%, 4.4%, 19.6%)
CIE-LABlab(57.05, 57.13, -33.31)
CIE-LCHlch(57.05, 66.13, 329.76°)
OKLaboklab(65.35% 0.162 -0.0911)
OKLCHoklch(65.35% 0.186 330.6)
XYZxyz(39.1431, 24.9726, 54.9723)
Luminance0.2497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5EC4 #5ECD67
analogous
#9E5ECD #CD5EC4 #CD5E8C
triadic
#CD5EC4 #C4CD5E #5EC4CD
tetradic
#CD5EC4 #CD9E5E #5ECD67 #5E8CCD
square
#CD5EC4 #CD9E5E #5ECD67 #5E8CCD
split-complementary
#CD5EC4 #8CCD5E #5ECD9E
monochromatic
#872A7F #B538AB #CD5EC4 #DC8DD5 #EABBE6

Accessibility & contrast

On white

3.50
#CD5EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CD5EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5EC4
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5EC4#FFFFFF#000000##000000
##CD5EC41.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC7
Deuteranopia (green-blind)
#7A8EC1
Tritanopia (blue-blind)
#D46888
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd5ec4;
/* rgb */ color: rgb(205, 94, 196);
/* oklch */ color: oklch(65.3% 0.186 330.6);
Tailwind
colors: {
  custom: {
    50: '#df91d6',
    500: '#cd5ec4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ec4;
$custom-light: #df91d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ec4",
  "rgb": {
    "r": 205,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 304.865,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65347,
    "c": 0.18587,
    "h": 330.6
  },
  "luminance": 0.2497
}

Semantic roles & 50–950 ramp

primary
#CD5EC4
secondary
#ADD9B1
accent
#DC574C
background
#FEF9FD
surface
#FCF1FA
border
#D5CBD3
text
#150D14
muted
#847E83

Preview Lab

Preview with #CD5EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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