#CC4ABC#CC4ABC

#CC4ABC is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.5% C 0.208 H 333.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#CC4ABC
RGBrgb(204, 74, 188)
HSLhsl(307, 56%, 55%)
HSVhsv(307, 64%, 80%)
CMYKcmyk(0%, 63.7%, 7.8%, 20%)
CIE-LABlab(53.35, 64.27, -34.50)
CIE-LCHlch(53.35, 72.94, 331.77°)
OKLaboklab(62.49% 0.185 -0.0944)
OKLCHoklch(62.49% 0.208 333)
XYZxyz(36.4278, 21.3686, 49.7731)
Luminance0.2137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4ABC #4ACC5A
analogous
#9B4ACC #CC4ABC #CC4A7B
triadic
#CC4ABC #BCCC4A #4ABCCC
tetradic
#CC4ABC #CC9B4A #4ACC5A #4A7BCC
square
#CC4ABC #CC9B4A #4ACC5A #4A7BCC
split-complementary
#CC4ABC #7BCC4A #4ACC9B
monochromatic
#79226F #A9309A #CC4ABC #D97ACE #E7A9DF

Accessibility & contrast

On white

3.98
#CC4ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#CC4ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4ABC
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4ABC#FFFFFF#000000##000000
##CC4ABC1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4673BF
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#D5557C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4abc;
/* rgb */ color: rgb(204, 74, 188);
/* oklch */ color: oklch(62.5% 0.208 333.0);
Tailwind
colors: {
  custom: {
    50: '#df85d0',
    500: '#cc4abc',
    950: '#000000',
  },
}
SCSS
$custom: #cc4abc;
$custom-light: #df85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4abc",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 307.385,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62493,
    "c": 0.20768,
    "h": 333
  },
  "luminance": 0.21366
}

Semantic roles & 50–950 ramp

primary
#CC4ABC
secondary
#9DD4A4
accent
#DF5B48
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CC4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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