#CC5AE7#CC5AE7

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

Color values

HEX#CC5AE7
RGBrgb(204, 90, 231)
HSLhsl(289, 75%, 63%)
HSVhsv(289, 61%, 91%)
CMYKcmyk(11.7%, 61%, 0%, 9.4%)
CIE-LABlab(57.96, 64.98, -51.68)
CIE-LCHlch(57.96, 83.02, 321.50°)
OKLaboklab(66.55% 0.1689 -0.1442)
OKLCHoklch(66.55% 0.222 319.5)
XYZxyz(42.9800, 25.9211, 78.3251)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AE7 #75E75A
analogous
#865AE7 #CC5AE7 #E75ABB
triadic
#CC5AE7 #E7CC5A #5AE7CC
tetradic
#CC5AE7 #E7865A #75E75A #5ABBE7
square
#CC5AE7 #E7865A #75E75A #5ABBE7
split-complementary
#CC5AE7 #BBE75A #5AE786
monochromatic
#9119AD #BB25DF #CC5AE7 #DD8FEF #EDC5F7

Accessibility & contrast

On white

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

On black

6.18
#CC5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AE7
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AE7#FFFFFF#000000##000000
##CC5AE71.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EB
Deuteranopia (green-blind)
#648FE3
Tritanopia (blue-blind)
#CD7199
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5ae7;
/* rgb */ color: rgb(204, 90, 231);
/* oklch */ color: oklch(66.5% 0.222 319.5);
Tailwind
colors: {
  custom: {
    50: '#df8fef',
    500: '#cc5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ae7;
$custom-light: #df8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ae7",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 288.511,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66545,
    "c": 0.22209,
    "h": 319.5
  },
  "luminance": 0.25919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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