#CC5AE5#CC5AE5

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

Color values

HEX#CC5AE5
RGBrgb(204, 90, 229)
HSLhsl(289, 73%, 63%)
HSVhsv(289, 61%, 90%)
CMYKcmyk(10.9%, 60.7%, 0%, 10.2%)
CIE-LABlab(57.86, 64.60, -50.73)
CIE-LCHlch(57.86, 82.14, 321.86°)
OKLaboklab(66.43% 0.1689 -0.1415)
OKLCHoklch(66.43% 0.22 320)
XYZxyz(42.6991, 25.8088, 76.8460)
Luminance0.2581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AE5 #73E55A
analogous
#875AE5 #CC5AE5 #E55AB8
triadic
#CC5AE5 #E5CC5A #5AE5CC
tetradic
#CC5AE5 #E5875A #73E55A #5AB8E5
square
#CC5AE5 #E5875A #73E55A #5AB8E5
split-complementary
#CC5AE5 #B8E55A #5AE587
monochromatic
#901BAA #BC25DD #CC5AE5 #DC8FED #EDC4F6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5AE5#FFFFFF#000000##000000
##CC5AE51.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)
#3883E9
Deuteranopia (green-blind)
#658FE1
Tritanopia (blue-blind)
#CD7097
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5ae5;
/* rgb */ color: rgb(204, 90, 229);
/* oklch */ color: oklch(66.4% 0.220 320.0);
Tailwind
colors: {
  custom: {
    50: '#df8fee',
    500: '#cc5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ae5;
$custom-light: #df8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ae5",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 289.209,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66432,
    "c": 0.22028,
    "h": 320
  },
  "luminance": 0.25807
}

Semantic roles & 50–950 ramp

primary
#CC5AE5
secondary
#BDE7B4
accent
#D51134
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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