#CC4CB9#CC4CB9

#CC4CB9 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.6% C 0.203 H 334.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CC4CB9
RGBrgb(204, 76, 185)
HSLhsl(309, 56%, 55%)
HSVhsv(309, 63%, 80%)
CMYKcmyk(0%, 62.7%, 9.3%, 20%)
CIE-LABlab(53.51, 62.99, -32.52)
CIE-LCHlch(53.51, 70.88, 332.69°)
OKLaboklab(62.56% 0.1823 -0.0887)
OKLCHoklch(62.56% 0.203 334)
XYZxyz(36.2434, 21.5119, 48.1329)
Luminance0.2151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CB9 #4CCC5F
analogous
#9F4CCC #CC4CB9 #CC4C79
triadic
#CC4CB9 #B9CC4C #4CB9CC
tetradic
#CC4CB9 #CC9F4C #4CCC5F #4C79CC
square
#CC4CB9 #CC9F4C #4CCC5F #4C79CC
split-complementary
#CC4CB9 #79CC4C #4CCC9F
monochromatic
#7B236E #AA3198 #CC4CB9 #DA7CCC #E7ABDE

Accessibility & contrast

On white

3.96
#CC4CB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CC4CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CB9
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CB9#FFFFFF#000000##000000
##CC4CB91.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A74BC
Deuteranopia (green-blind)
#7487B6
Tritanopia (blue-blind)
#D5557C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc4cb9;
/* rgb */ color: rgb(204, 76, 185);
/* oklch */ color: oklch(62.6% 0.203 334.0);
Tailwind
colors: {
  custom: {
    50: '#df86ce',
    500: '#cc4cb9',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cb9;
$custom-light: #df86ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cb9",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 308.906,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6256,
    "c": 0.20272,
    "h": 334
  },
  "luminance": 0.21509
}

Semantic roles & 50–950 ramp

primary
#CC4CB9
secondary
#9FD5A7
accent
#DF5F49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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