#CC4ABD#CC4ABD

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

Color values

HEX#CC4ABD
RGBrgb(204, 74, 189)
HSLhsl(307, 56%, 55%)
HSVhsv(307, 64%, 80%)
CMYKcmyk(0%, 63.7%, 7.4%, 20%)
CIE-LABlab(53.40, 64.42, -35.00)
CIE-LCHlch(53.40, 73.32, 331.48°)
OKLaboklab(62.54% 0.1851 -0.0958)
OKLCHoklch(62.54% 0.208 332.6)
XYZxyz(36.5360, 21.4119, 50.3428)
Luminance0.2141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4ABD #4ACC59
analogous
#9A4ACC #CC4ABD #CC4A7C
triadic
#CC4ABD #BDCC4A #4ABDCC
tetradic
#CC4ABD #CC9A4A #4ACC59 #4A7CCC
square
#CC4ABD #CC9A4A #4ACC59 #4A7CCC
split-complementary
#CC4ABD #7CCC4A #4ACC9A
monochromatic
#79226F #A9309B #CC4ABD #D97ACE #E7A9E0

Accessibility & contrast

On white

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

On black

5.28
#CC4ABD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4ABD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4ABD#FFFFFF#000000##000000
##CC4ABD1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C0
Deuteranopia (green-blind)
#7186BA
Tritanopia (blue-blind)
#D5557D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc4abd;
/* rgb */ color: rgb(204, 74, 189);
/* oklch */ color: oklch(62.5% 0.208 332.6);
Tailwind
colors: {
  custom: {
    50: '#df85d1',
    500: '#cc4abd',
    950: '#000000',
  },
}
SCSS
$custom: #cc4abd;
$custom-light: #df85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4abd",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 306.923,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.62542,
    "c": 0.20844,
    "h": 332.6
  },
  "luminance": 0.21409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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