#CC4CC2#CC4CC2

#CC4CC2 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 63.0% C 0.210 H 331.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#CC4CC2
RGBrgb(204, 76, 194)
HSLhsl(305, 56%, 55%)
HSVhsv(305, 63%, 80%)
CMYKcmyk(0%, 62.7%, 4.9%, 20%)
CIE-LABlab(53.92, 64.42, -37.06)
CIE-LCHlch(53.92, 74.32, 330.09°)
OKLaboklab(63% 0.1833 -0.1017)
OKLCHoklch(63% 0.21 331)
XYZxyz(37.2237, 21.9040, 53.2958)
Luminance0.2190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CC2 #4CCC56
analogous
#964CCC #CC4CC2 #CC4C82
triadic
#CC4CC2 #C2CC4C #4CC2CC
tetradic
#CC4CC2 #CC964C #4CCC56 #4C82CC
square
#CC4CC2 #CC964C #4CCC56 #4C82CC
split-complementary
#CC4CC2 #82CC4C #4CCC96
monochromatic
#7B2374 #AA31A1 #CC4CC2 #DA7CD2 #E7ABE2

Accessibility & contrast

On white

3.90
#CC4CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#CC4CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CC2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CC2#FFFFFF#000000##000000
##CC4CC21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4475C6
Deuteranopia (green-blind)
#7087BF
Tritanopia (blue-blind)
#D45980
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cc4cc2;
/* rgb */ color: rgb(204, 76, 194);
/* oklch */ color: oklch(63.0% 0.210 331.0);
Tailwind
colors: {
  custom: {
    50: '#df87d5',
    500: '#cc4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cc2;
$custom-light: #df87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cc2",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 304.688,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63003,
    "c": 0.20963,
    "h": 331
  },
  "luminance": 0.21901
}

Semantic roles & 50–950 ramp

primary
#CC4CC2
secondary
#9FD5A3
accent
#DF5549
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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