#CD5AE7#CD5AE7

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

Color values

HEX#CD5AE7
RGBrgb(205, 90, 231)
HSLhsl(289, 75%, 63%)
HSVhsv(289, 61%, 91%)
CMYKcmyk(11.3%, 61%, 0%, 9.4%)
CIE-LABlab(58.10, 65.21, -51.46)
CIE-LCHlch(58.10, 83.07, 321.72°)
OKLaboklab(66.67% 0.1701 -0.1435)
OKLCHoklch(66.67% 0.223 319.8)
XYZxyz(43.2550, 26.0630, 78.3380)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD5AE7 #74E75A
analogous
#865AE7 #CD5AE7 #E75ABB
triadic
#CD5AE7 #E7CD5A #5AE7CD
tetradic
#CD5AE7 #E7865A #74E75A #5ABBE7
square
#CD5AE7 #E7865A #74E75A #5ABBE7
split-complementary
#CD5AE7 #BBE75A #5AE786
monochromatic
#9219AD #BD25DF #CD5AE7 #DD8FEF #EDC5F7

Accessibility & contrast

On white

3.38
#CD5AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CD5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD5AE7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD5AE7#FFFFFF#000000##000000
##CD5AE71.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EB
Deuteranopia (green-blind)
#6590E3
Tritanopia (blue-blind)
#CE7199
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cd5ae7;
/* rgb */ color: rgb(205, 90, 231);
/* oklch */ color: oklch(66.7% 0.223 319.8);
Tailwind
colors: {
  custom: {
    50: '#df8fef',
    500: '#cd5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #cd5ae7;
$custom-light: #df8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd5ae7",
  "rgb": {
    "r": 205,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 288.936,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6667,
    "c": 0.22254,
    "h": 319.8
  },
  "luminance": 0.26061
}

Semantic roles & 50–950 ramp

primary
#CD5AE7
secondary
#BEE8B5
accent
#D70F34
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CD5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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