#CC5AD9#CC5AD9

#CC5AD9 is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 65.8% C 0.209 H 323.5°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CC5AD9
RGBrgb(204, 90, 217)
HSLhsl(294, 63%, 60%)
HSVhsv(294, 59%, 85%)
CMYKcmyk(6%, 58.5%, 0%, 14.9%)
CIE-LABlab(57.23, 62.38, -44.96)
CIE-LCHlch(57.23, 76.90, 324.22°)
OKLaboklab(65.78% 0.1683 -0.1247)
OKLCHoklch(65.78% 0.209 323.5)
XYZxyz(41.0812, 25.1616, 68.3250)
Luminance0.2516 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AD9 #67D95A
analogous
#8C5AD9 #CC5AD9 #D95AA7
triadic
#CC5AD9 #D9CC5A #5AD9CC
tetradic
#CC5AD9 #D98C5A #67D95A #5AA7D9
square
#CC5AD9 #D98C5A #67D95A #5AA7D9
split-complementary
#CC5AD9 #A7D95A #5AD98C
monochromatic
#8A2396 #B82EC8 #CC5AD9 #DB8CE4 #EBBDF0

Accessibility & contrast

On white

3.48
#CC5AD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CC5AD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AD9
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AD9#FFFFFF#000000##000000
##CC5AD91.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4481DD
Deuteranopia (green-blind)
#6D8ED6
Tritanopia (blue-blind)
#CF6C91
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5ad9;
/* rgb */ color: rgb(204, 90, 217);
/* oklch */ color: oklch(65.8% 0.209 323.5);
Tailwind
colors: {
  custom: {
    50: '#de8fe5',
    500: '#cc5ad9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ad9;
$custom-light: #de8fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ad9",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 217
  },
  "hsl": {
    "h": 293.858,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.65778,
    "c": 0.20945,
    "h": 323.5
  },
  "luminance": 0.25159
}

Semantic roles & 50–950 ramp

primary
#CC5AD9
secondary
#B4E0AF
accent
#CA1B2D
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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