#CC2CB3#CC2CB3

#CC2CB3 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.5% C 0.235 H 335.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CC2CB3
RGBrgb(204, 44, 179)
HSLhsl(309, 65%, 49%)
HSVhsv(309, 78%, 80%)
CMYKcmyk(0%, 78.4%, 12.3%, 20%)
CIE-LABlab(49.37, 72.96, -35.50)
CIE-LCHlch(49.37, 81.13, 334.05°)
OKLaboklab(59.48% 0.2137 -0.097)
OKLCHoklch(59.48% 0.235 335.6)
XYZxyz(33.9397, 17.8966, 44.3060)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2CB3 #2CCC45
analogous
#952CCC #CC2CB3 #CC2C63
triadic
#CC2CB3 #B3CC2C #2CB3CC
tetradic
#CC2CB3 #CC952C #2CCC45 #2C63CC
square
#CC2CB3 #CC952C #2CCC45 #2C63CC
split-complementary
#CC2CB3 #63CC2C #2CCC95
monochromatic
#67165B #9A2187 #CC2CB3 #DB5AC7 #E68CD8

Accessibility & contrast

On white

4.59
#CC2CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#CC2CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CC2CB3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2CB3#FFFFFF#000000##FFFFFF
##CC2CB31.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B7
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#D63A6E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cc2cb3;
/* rgb */ color: rgb(204, 44, 179);
/* oklch */ color: oklch(59.5% 0.235 335.6);
Tailwind
colors: {
  custom: {
    50: '#e078ca',
    500: '#cc2cb3',
    950: '#000000',
  },
}
SCSS
$custom: #cc2cb3;
$custom-light: #e078ca;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2cb3",
  "rgb": {
    "r": 204,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 309.375,
    "s": 64.516,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59478,
    "c": 0.23473,
    "h": 335.6
  },
  "luminance": 0.17893
}

Semantic roles & 50–950 ramp

primary
#CC2CB3
secondary
#83D08F
accent
#E85A40
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC2CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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