#CC5AD2#CC5AD2

#CC5AD2 is a light, highly saturated purple. Relative luminance 0.248; OKLCH L 65.4% C 0.203 H 325.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CC5AD2
RGBrgb(204, 90, 210)
HSLhsl(297, 57%, 59%)
HSVhsv(297, 57%, 82%)
CMYKcmyk(2.9%, 57.1%, 0%, 17.6%)
CIE-LABlab(56.88, 61.13, -41.55)
CIE-LCHlch(56.88, 73.91, 325.80°)
OKLaboklab(65.41% 0.1678 -0.1148)
OKLCHoklch(65.41% 0.203 325.6)
XYZxyz(40.1900, 24.8051, 63.6312)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AD2 #60D25A
analogous
#905AD2 #CC5AD2 #D25A9C
triadic
#CC5AD2 #D2CC5A #5AD2CC
tetradic
#CC5AD2 #D2905A #60D25A #5A9CD2
square
#CC5AD2 #D2905A #60D25A #5A9CD2
split-complementary
#CC5AD2 #9CD25A #5AD290
monochromatic
#86268C #B533BC #CC5AD2 #DB8ADF #EABAEC

Accessibility & contrast

On white

3.52
#CC5AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CC5AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AD2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AD2#FFFFFF#000000##000000
##CC5AD21.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#497FD6
Deuteranopia (green-blind)
#708ECF
Tritanopia (blue-blind)
#D16A8E
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5ad2;
/* rgb */ color: rgb(204, 90, 210);
/* oklch */ color: oklch(65.4% 0.203 325.6);
Tailwind
colors: {
  custom: {
    50: '#de8fe0',
    500: '#cc5ad2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ad2;
$custom-light: #de8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ad2",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 210
  },
  "hsl": {
    "h": 297,
    "s": 57.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.65412,
    "c": 0.20327,
    "h": 325.6
  },
  "luminance": 0.24803
}

Semantic roles & 50–950 ramp

primary
#CC5AD2
secondary
#AFDCAC
accent
#E0474F
background
#FEF9FD
surface
#FCF1FB
border
#D5CBD4
text
#150D15
muted
#847E83

Preview Lab

Preview with #CC5AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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