#CD5AE8#CD5AE8

#CD5AE8 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.7% C 0.223 H 319.6°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CD5AE8
RGBrgb(205, 90, 232)
HSLhsl(289, 76%, 63%)
HSVhsv(289, 61%, 91%)
CMYKcmyk(11.6%, 61.2%, 0%, 9%)
CIE-LABlab(58.15, 65.40, -51.93)
CIE-LCHlch(58.15, 83.51, 321.55°)
OKLaboklab(66.73% 0.1701 -0.1449)
OKLCHoklch(66.73% 0.223 319.6)
XYZxyz(43.3966, 26.1196, 79.0840)
Luminance0.2612 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AE8 #75E85A
analogous
#865AE8 #CD5AE8 #E85ABC
triadic
#CD5AE8 #E8CD5A #5AE8CD
tetradic
#CD5AE8 #E8865A #75E85A #5ABCE8
square
#CD5AE8 #E8865A #75E85A #5ABCE8
split-complementary
#CD5AE8 #BCE85A #5AE886
monochromatic
#9318AF #BD24E1 #CD5AE8 #DD90EF #EEC5F7

Accessibility & contrast

On white

3.37
#CD5AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CD5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AE8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AE8#FFFFFF#000000##000000
##CD5AE81.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3584EC
Deuteranopia (green-blind)
#6490E4
Tritanopia (blue-blind)
#CE7199
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5ae8;
/* rgb */ color: rgb(205, 90, 232);
/* oklch */ color: oklch(66.7% 0.223 319.6);
Tailwind
colors: {
  custom: {
    50: '#e08ff0',
    500: '#cd5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ae8;
$custom-light: #e08ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ae8",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 288.592,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66726,
    "c": 0.22345,
    "h": 319.6
  },
  "luminance": 0.26118
}

Semantic roles & 50–950 ramp

primary
#CD5AE8
secondary
#BFE8B5
accent
#D80E34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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