#CC5AE8#CC5AE8

#CC5AE8 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.6% C 0.223 H 319.2°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CC5AE8
RGBrgb(204, 90, 232)
HSLhsl(288, 76%, 63%)
HSVhsv(288, 61%, 91%)
CMYKcmyk(12.1%, 61.2%, 0%, 9%)
CIE-LABlab(58.02, 65.16, -52.16)
CIE-LCHlch(58.02, 83.47, 321.33°)
OKLaboklab(66.6% 0.1689 -0.1456)
OKLCHoklch(66.6% 0.223 319.2)
XYZxyz(43.1216, 25.9778, 79.0711)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AE8 #76E85A
analogous
#855AE8 #CC5AE8 #E85ABD
triadic
#CC5AE8 #E8CC5A #5AE8CC
tetradic
#CC5AE8 #E8855A #76E85A #5ABDE8
square
#CC5AE8 #E8855A #76E85A #5ABDE8
split-complementary
#CC5AE8 #BDE85A #5AE885
monochromatic
#9118AF #BB24E1 #CC5AE8 #DD90EF #EDC5F7

Accessibility & contrast

On white

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

On black

6.20
#CC5AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AE8
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AE8#FFFFFF#000000##000000
##CC5AE81.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3484EC
Deuteranopia (green-blind)
#638FE4
Tritanopia (blue-blind)
#CC7299
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5ae8;
/* rgb */ color: rgb(204, 90, 232);
/* oklch */ color: oklch(66.6% 0.223 319.2);
Tailwind
colors: {
  custom: {
    50: '#df8ff0',
    500: '#cc5ae8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ae8;
$custom-light: #df8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ae8",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 288.169,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66601,
    "c": 0.22301,
    "h": 319.2
  },
  "luminance": 0.25976
}

Semantic roles & 50–950 ramp

primary
#CC5AE8
secondary
#BFE8B5
accent
#D80E36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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