#CC2DB4#CC2DB4

#CC2DB4 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.6% C 0.235 H 335.3°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CC2DB4
RGBrgb(204, 45, 180)
HSLhsl(309, 64%, 49%)
HSVhsv(309, 78%, 80%)
CMYKcmyk(0%, 77.9%, 11.8%, 20%)
CIE-LABlab(49.51, 72.83, -35.86)
CIE-LCHlch(49.51, 81.18, 333.79°)
OKLaboklab(59.6% 0.213 -0.0981)
OKLCHoklch(59.6% 0.235 335.3)
XYZxyz(34.0789, 18.0126, 44.8531)
Luminance0.1801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2DB4 #2DCC45
analogous
#952DCC #CC2DB4 #CC2D65
triadic
#CC2DB4 #B4CC2D #2DB4CC
tetradic
#CC2DB4 #CC952D #2DCC45 #2D65CC
square
#CC2DB4 #CC952D #2DCC45 #2D65CC
split-complementary
#CC2DB4 #65CC2D #2DCC95
monochromatic
#68175C #9A2288 #CC2DB4 #DB5BC8 #E68DD9

Accessibility & contrast

On white

4.56
#CC2DB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CC2DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2DB4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2DB4#FFFFFF#000000##000000
##CC2DB41.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D67B8
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#D63B6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc2db4;
/* rgb */ color: rgb(204, 45, 180);
/* oklch */ color: oklch(59.6% 0.235 335.3);
Tailwind
colors: {
  custom: {
    50: '#e078cb',
    500: '#cc2db4',
    950: '#000000',
  },
}
SCSS
$custom: #cc2db4;
$custom-light: #e078cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2db4",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 180
  },
  "hsl": {
    "h": 309.057,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59595,
    "c": 0.23451,
    "h": 335.3
  },
  "luminance": 0.18009
}

Semantic roles & 50–950 ramp

primary
#CC2DB4
secondary
#85D090
accent
#E75A41
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CC2DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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