#CC4CBA#CC4CBA

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

Color values

HEX#CC4CBA
RGBrgb(204, 76, 186)
HSLhsl(308, 56%, 55%)
HSVhsv(308, 63%, 80%)
CMYKcmyk(0%, 62.7%, 8.8%, 20%)
CIE-LABlab(53.55, 63.14, -33.03)
CIE-LCHlch(53.55, 71.26, 332.39°)
OKLaboklab(62.61% 0.1824 -0.0902)
OKLCHoklch(62.61% 0.203 333.7)
XYZxyz(36.3494, 21.5543, 48.6908)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CBA #4CCC5E
analogous
#9E4CCC #CC4CBA #CC4C7A
triadic
#CC4CBA #BACC4C #4CBACC
tetradic
#CC4CBA #CC9E4C #4CCC5E #4C7ACC
square
#CC4CBA #CC9E4C #4CCC5E #4C7ACC
split-complementary
#CC4CBA #7ACC4C #4CCC9E
monochromatic
#7B236E #AA3199 #CC4CBA #DA7CCC #E7ABDF

Accessibility & contrast

On white

3.95
#CC4CBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CC4CBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CBA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CBA#FFFFFF#000000##000000
##CC4CBA1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4974BD
Deuteranopia (green-blind)
#7387B7
Tritanopia (blue-blind)
#D5567C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc4cba;
/* rgb */ color: rgb(204, 76, 186);
/* oklch */ color: oklch(62.6% 0.203 333.7);
Tailwind
colors: {
  custom: {
    50: '#df86cf',
    500: '#cc4cba',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cba;
$custom-light: #df86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cba",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 308.438,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62608,
    "c": 0.20348,
    "h": 333.7
  },
  "luminance": 0.21551
}

Semantic roles & 50–950 ramp

primary
#CC4CBA
secondary
#9FD5A7
accent
#DF5E49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C14
muted
#847D82

Preview Lab

Preview with #CC4CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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