#CC5AD8#CC5AD8

#CC5AD8 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 65.7% C 0.209 H 323.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#CC5AD8
RGBrgb(204, 90, 216)
HSLhsl(294, 62%, 60%)
HSVhsv(294, 58%, 85%)
CMYKcmyk(5.6%, 58.3%, 0%, 15.3%)
CIE-LABlab(57.18, 62.20, -44.48)
CIE-LCHlch(57.18, 76.47, 324.43°)
OKLaboklab(65.72% 0.1682 -0.1233)
OKLCHoklch(65.72% 0.209 323.8)
XYZxyz(40.9515, 25.1098, 67.6421)
Luminance0.2511 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AD8 #66D85A
analogous
#8D5AD8 #CC5AD8 #D85AA5
triadic
#CC5AD8 #D8CC5A #5AD8CC
tetradic
#CC5AD8 #D88D5A #66D85A #5AA5D8
square
#CC5AD8 #D88D5A #66D85A #5AA5D8
split-complementary
#CC5AD8 #A5D85A #5AD88D
monochromatic
#8A2395 #B82FC6 #CC5AD8 #DB8BE4 #EBBDEF

Accessibility & contrast

On white

3.49
#CC5AD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#CC5AD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AD8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AD8#FFFFFF#000000##000000
##CC5AD81.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4580DC
Deuteranopia (green-blind)
#6D8ED5
Tritanopia (blue-blind)
#D06C91
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5ad8;
/* rgb */ color: rgb(204, 90, 216);
/* oklch */ color: oklch(65.7% 0.209 323.8);
Tailwind
colors: {
  custom: {
    50: '#de8fe4',
    500: '#cc5ad8',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ad8;
$custom-light: #de8fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ad8",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 216
  },
  "hsl": {
    "h": 294.286,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.65725,
    "c": 0.20856,
    "h": 323.8
  },
  "luminance": 0.25108
}

Semantic roles & 50–950 ramp

primary
#CC5AD8
secondary
#B3DFAF
accent
#E54352
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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