#CC4AC2#CC4AC2

#CC4AC2 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.8% C 0.212 H 331.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CC4AC2
RGBrgb(204, 74, 194)
HSLhsl(305, 56%, 55%)
HSVhsv(305, 64%, 80%)
CMYKcmyk(0%, 63.7%, 4.9%, 20%)
CIE-LABlab(53.64, 65.22, -37.51)
CIE-LCHlch(53.64, 75.24, 330.09°)
OKLaboklab(62.79% 0.1856 -0.103)
OKLCHoklch(62.79% 0.212 331)
XYZxyz(37.0881, 21.6327, 53.2506)
Luminance0.2163 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AC2 #4ACC54
analogous
#954ACC #CC4AC2 #CC4A81
triadic
#CC4AC2 #C2CC4A #4AC2CC
tetradic
#CC4AC2 #CC954A #4ACC54 #4A81CC
square
#CC4AC2 #CC954A #4ACC54 #4A81CC
split-complementary
#CC4AC2 #81CC4A #4ACC95
monochromatic
#792273 #A930A0 #CC4AC2 #D97AD2 #E7A9E2

Accessibility & contrast

On white

3.94
#CC4AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CC4AC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AC2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AC2#FFFFFF#000000##000000
##CC4AC21.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4175C6
Deuteranopia (green-blind)
#6F87BF
Tritanopia (blue-blind)
#D45780
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc4ac2;
/* rgb */ color: rgb(204, 74, 194);
/* oklch */ color: oklch(62.8% 0.212 331.0);
Tailwind
colors: {
  custom: {
    50: '#df85d5',
    500: '#cc4ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ac2;
$custom-light: #df85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ac2",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 194
  },
  "hsl": {
    "h": 304.615,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62792,
    "c": 0.21229,
    "h": 331
  },
  "luminance": 0.2163
}

Semantic roles & 50–950 ramp

primary
#CC4AC2
secondary
#9DD4A2
accent
#DF5448
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC4AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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