#CC4AD2#CC4AD2

#CC4AD2 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.6% C 0.225 H 326.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CC4AD2
RGBrgb(204, 74, 210)
HSLhsl(297, 60%, 56%)
HSVhsv(297, 65%, 82%)
CMYKcmyk(2.9%, 64.8%, 0%, 17.6%)
CIE-LABlab(54.44, 67.87, -45.41)
CIE-LCHlch(54.44, 81.67, 326.22°)
OKLaboklab(63.64% 0.1866 -0.1259)
OKLCHoklch(63.64% 0.225 326)
XYZxyz(38.9827, 22.3905, 63.2288)
Luminance0.2239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AD2 #50D24A
analogous
#884AD2 #CC4AD2 #D24A94
triadic
#CC4AD2 #D2CC4A #4AD2CC
tetradic
#CC4AD2 #D2884A #50D24A #4A94D2
square
#CC4AD2 #D2884A #50D24A #4A94D2
split-complementary
#CC4AD2 #94D24A #4AD288
monochromatic
#7D2081 #AD2CB2 #CC4AD2 #DA7BDE #E8ACEA

Accessibility & contrast

On white

3.83
#CC4AD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CC4AD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AD2
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AD2#FFFFFF#000000##000000
##CC4AD21.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3278D6
Deuteranopia (green-blind)
#6688CE
Tritanopia (blue-blind)
#D15E88
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc4ad2;
/* rgb */ color: rgb(204, 74, 210);
/* oklch */ color: oklch(63.6% 0.225 326.0);
Tailwind
colors: {
  custom: {
    50: '#df86e0',
    500: '#cc4ad2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ad2;
$custom-light: #df86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ad2",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 210
  },
  "hsl": {
    "h": 297.353,
    "s": 60.177,
    "l": 55.686
  },
  "oklch": {
    "l": 0.63635,
    "c": 0.22506,
    "h": 326
  },
  "luminance": 0.22388
}

Semantic roles & 50–950 ramp

primary
#CC4AD2
secondary
#A2D8A0
accent
#E3444B
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC4AD2

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

Preview Lab → · Contrast checker → · Palette generator →

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