#CC5AE6#CC5AE6

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

Color values

HEX#CC5AE6
RGBrgb(204, 90, 230)
HSLhsl(289, 74%, 63%)
HSVhsv(289, 61%, 90%)
CMYKcmyk(11.3%, 60.9%, 0%, 9.8%)
CIE-LABlab(57.91, 64.79, -51.21)
CIE-LCHlch(57.91, 82.58, 321.68°)
OKLaboklab(66.49% 0.1689 -0.1428)
OKLCHoklch(66.49% 0.221 319.8)
XYZxyz(42.8391, 25.8648, 77.5834)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AE6 #74E65A
analogous
#865AE6 #CC5AE6 #E65ABA
triadic
#CC5AE6 #E6CC5A #5AE6CC
tetradic
#CC5AE6 #E6865A #74E65A #5ABAE6
square
#CC5AE6 #E6865A #74E65A #5ABAE6
split-complementary
#CC5AE6 #BAE65A #5AE686
monochromatic
#911AAC #BC25DE #CC5AE6 #DC8FEE #EDC4F6

Accessibility & contrast

On white

3.40
#CC5AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#CC5AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AE6
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AE6#FFFFFF#000000##000000
##CC5AE61.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3683EA
Deuteranopia (green-blind)
#658FE2
Tritanopia (blue-blind)
#CD7198
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5ae6;
/* rgb */ color: rgb(204, 90, 230);
/* oklch */ color: oklch(66.5% 0.221 319.8);
Tailwind
colors: {
  custom: {
    50: '#df8fee',
    500: '#cc5ae6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ae6;
$custom-light: #df8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ae6",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 288.857,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.66488,
    "c": 0.22118,
    "h": 319.8
  },
  "luminance": 0.25863
}

Semantic roles & 50–950 ramp

primary
#CC5AE6
secondary
#BEE7B5
accent
#D61034
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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