#CD5AE4#CD5AE4

#CD5AE4 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.5% C 0.220 H 320.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#CD5AE4
RGBrgb(205, 90, 228)
HSLhsl(290, 72%, 62%)
HSVhsv(290, 61%, 89%)
CMYKcmyk(10.1%, 60.5%, 0%, 10.6%)
CIE-LABlab(57.94, 64.65, -50.03)
CIE-LCHlch(57.94, 81.75, 322.26°)
OKLaboklab(66.5% 0.17 -0.1394)
OKLCHoklch(66.5% 0.22 320.6)
XYZxyz(42.8349, 25.8949, 76.1257)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AE4 #71E45A
analogous
#885AE4 #CD5AE4 #E45AB6
triadic
#CD5AE4 #E4CD5A #5AE4CD
tetradic
#CD5AE4 #E4885A #71E45A #5AB6E4
square
#CD5AE4 #E4885A #71E45A #5AB6E4
split-complementary
#CD5AE4 #B6E45A #5AE488
monochromatic
#911CA8 #BD25DB #CD5AE4 #DD8FED #EDC3F5

Accessibility & contrast

On white

3.40
#CD5AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#CD5AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AE4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AE4#FFFFFF#000000##000000
##CD5AE41.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A83E8
Deuteranopia (green-blind)
#678FE0
Tritanopia (blue-blind)
#CE7097
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5ae4;
/* rgb */ color: rgb(205, 90, 228);
/* oklch */ color: oklch(66.5% 0.220 320.6);
Tailwind
colors: {
  custom: {
    50: '#df8fed',
    500: '#cd5ae4',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ae4;
$custom-light: #df8fed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ae4",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 290,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66503,
    "c": 0.21982,
    "h": 320.6
  },
  "luminance": 0.25893
}

Semantic roles & 50–950 ramp

primary
#CD5AE4
secondary
#BCE6B4
accent
#D41232
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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