#CD5AE5#CD5AE5

#CD5AE5 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.6% C 0.221 H 320.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CD5AE5
RGBrgb(205, 90, 229)
HSLhsl(290, 73%, 63%)
HSVhsv(290, 61%, 90%)
CMYKcmyk(10.5%, 60.7%, 0%, 10.2%)
CIE-LABlab(57.99, 64.84, -50.51)
CIE-LCHlch(57.99, 82.19, 322.08°)
OKLaboklab(66.56% 0.17 -0.1408)
OKLCHoklch(66.56% 0.221 320.4)
XYZxyz(42.9742, 25.9506, 76.8589)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AE5 #72E55A
analogous
#875AE5 #CD5AE5 #E55AB8
triadic
#CD5AE5 #E5CD5A #5AE5CD
tetradic
#CD5AE5 #E5875A #72E55A #5AB8E5
square
#CD5AE5 #E5875A #72E55A #5AB8E5
split-complementary
#CD5AE5 #B8E55A #5AE587
monochromatic
#911BAA #BD25DD #CD5AE5 #DD8FED #EDC4F6

Accessibility & contrast

On white

3.39
#CD5AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#CD5AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AE5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AE5#FFFFFF#000000##000000
##CD5AE51.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3883E9
Deuteranopia (green-blind)
#6690E1
Tritanopia (blue-blind)
#CE7097
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5ae5;
/* rgb */ color: rgb(205, 90, 229);
/* oklch */ color: oklch(66.6% 0.221 320.4);
Tailwind
colors: {
  custom: {
    50: '#df8fee',
    500: '#cd5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ae5;
$custom-light: #df8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ae5",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 289.64,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66558,
    "c": 0.22072,
    "h": 320.4
  },
  "luminance": 0.25949
}

Semantic roles & 50–950 ramp

primary
#CD5AE5
secondary
#BDE7B4
accent
#D51133
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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