#CC4AB7#CC4AB7

#CC4AB7 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.3% C 0.204 H 334.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#CC4AB7
RGBrgb(204, 74, 183)
HSLhsl(310, 56%, 55%)
HSVhsv(310, 64%, 80%)
CMYKcmyk(0%, 63.7%, 10.3%, 20%)
CIE-LABlab(53.12, 63.49, -31.96)
CIE-LCHlch(53.12, 71.08, 333.28°)
OKLaboklab(62.25% 0.1844 -0.0871)
OKLCHoklch(62.25% 0.204 334.7)
XYZxyz(35.8981, 21.1567, 46.9835)
Luminance0.2115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AB7 #4ACC5F
analogous
#A04ACC #CC4AB7 #CC4A76
triadic
#CC4AB7 #B7CC4A #4AB7CC
tetradic
#CC4AB7 #CCA04A #4ACC5F #4A76CC
square
#CC4AB7 #CCA04A #4ACC5F #4A76CC
split-complementary
#CC4AB7 #76CC4A #4ACCA0
monochromatic
#79226B #A93096 #CC4AB7 #D97ACA #E7A9DD

Accessibility & contrast

On white

4.01
#CC4AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#CC4AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AB7
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AB7#FFFFFF#000000##000000
##CC4AB71.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4973BA
Deuteranopia (green-blind)
#7386B4
Tritanopia (blue-blind)
#D5537A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cc4ab7;
/* rgb */ color: rgb(204, 74, 183);
/* oklch */ color: oklch(62.3% 0.204 334.7);
Tailwind
colors: {
  custom: {
    50: '#df85cd',
    500: '#cc4ab7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ab7;
$custom-light: #df85cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ab7",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 183
  },
  "hsl": {
    "h": 309.692,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.6225,
    "c": 0.20394,
    "h": 334.7
  },
  "luminance": 0.21154
}

Semantic roles & 50–950 ramp

primary
#CC4AB7
secondary
#9DD4A6
accent
#DF6148
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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