#CD5AE2#CD5AE2

#CD5AE2 is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.4% C 0.218 H 321.2°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CD5AE2
RGBrgb(205, 90, 226)
HSLhsl(291, 70%, 62%)
HSVhsv(291, 60%, 89%)
CMYKcmyk(9.3%, 60.2%, 0%, 11.4%)
CIE-LABlab(57.83, 64.28, -49.08)
CIE-LCHlch(57.83, 80.87, 322.64°)
OKLaboklab(66.39% 0.1699 -0.1366)
OKLCHoklch(66.39% 0.218 321.2)
XYZxyz(42.5589, 25.7845, 74.6719)
Luminance0.2578 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AE2 #6FE25A
analogous
#895AE2 #CD5AE2 #E25AB3
triadic
#CD5AE2 #E2CD5A #5AE2CD
tetradic
#CD5AE2 #E2895A #6FE25A #5AB3E2
square
#CD5AE2 #E2895A #6FE25A #5AB3E2
split-complementary
#CD5AE2 #B3E25A #5AE289
monochromatic
#901DA5 #BD26D9 #CD5AE2 #DD8EEB #EDC2F4

Accessibility & contrast

On white

3.41
#CD5AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CD5AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AE2
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AE2#FFFFFF#000000##000000
##CD5AE21.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C83E6
Deuteranopia (green-blind)
#688FDE
Tritanopia (blue-blind)
#CF6F96
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd5ae2;
/* rgb */ color: rgb(205, 90, 226);
/* oklch */ color: oklch(66.4% 0.218 321.2);
Tailwind
colors: {
  custom: {
    50: '#df8fec',
    500: '#cd5ae2',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ae2;
$custom-light: #df8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ae2",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 290.735,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66392,
    "c": 0.21801,
    "h": 321.2
  },
  "luminance": 0.25782
}

Semantic roles & 50–950 ramp

primary
#CD5AE2
secondary
#BBE5B3
accent
#D21331
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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