#CC29C1#CC29C1

#CC29C1 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 60.0% C 0.247 H 331.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CC29C1
RGBrgb(204, 41, 193)
HSLhsl(304, 67%, 48%)
HSVhsv(304, 80%, 80%)
CMYKcmyk(0%, 79.9%, 5.4%, 20%)
CIE-LABlab(49.83, 75.72, -42.94)
CIE-LCHlch(49.83, 87.05, 330.44°)
OKLaboklab(60.04% 0.2164 -0.1185)
OKLCHoklch(60.04% 0.247 331.3)
XYZxyz(35.3204, 18.2765, 52.1092)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC29C1 #29CC34
analogous
#8529CC #CC29C1 #CC296F
triadic
#CC29C1 #C1CC29 #29C1CC
tetradic
#CC29C1 #CC8529 #29CC34 #296FCC
square
#CC29C1 #CC8529 #29CC34 #296FCC
split-complementary
#CC29C1 #6FCC29 #29CC85
monochromatic
#661561 #991F91 #CC29C1 #DD55D4 #E788E1

Accessibility & contrast

On white

4.51
#CC29C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CC29C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC29C1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC29C1#FFFFFF#000000##000000
##CC29C11.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1268C5
Deuteranopia (green-blind)
#617EBD
Tritanopia (blue-blind)
#D44076
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc29c1;
/* rgb */ color: rgb(204, 41, 193);
/* oklch */ color: oklch(60.0% 0.247 331.3);
Tailwind
colors: {
  custom: {
    50: '#e077d4',
    500: '#cc29c1',
    950: '#000000',
  },
}
SCSS
$custom: #cc29c1;
$custom-light: #e077d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc29c1",
  "rgb": {
    "r": 204,
    "g": 41,
    "b": 193
  },
  "hsl": {
    "h": 304.049,
    "s": 66.531,
    "l": 48.039
  },
  "oklch": {
    "l": 0.60039,
    "c": 0.24667,
    "h": 331.3
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#CC29C1
secondary
#80D186
accent
#E94A3E
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #CC29C1

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

Preview Lab → · Contrast checker → · Palette generator →

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