#CC2DB5#CC2DB5

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

Color values

HEX#CC2DB5
RGBrgb(204, 45, 181)
HSLhsl(309, 64%, 49%)
HSVhsv(309, 78%, 80%)
CMYKcmyk(0%, 77.9%, 11.3%, 20%)
CIE-LABlab(49.56, 72.98, -36.37)
CIE-LCHlch(49.56, 81.54, 333.51°)
OKLaboklab(59.65% 0.2131 -0.0995)
OKLCHoklch(59.65% 0.235 335)
XYZxyz(34.1812, 18.0535, 45.3916)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2DB5 #2DCC44
analogous
#942DCC #CC2DB5 #CC2D66
triadic
#CC2DB5 #B5CC2D #2DB5CC
tetradic
#CC2DB5 #CC942D #2DCC44 #2D66CC
square
#CC2DB5 #CC942D #2DCC44 #2D66CC
split-complementary
#CC2DB5 #66CC2D #2DCC94
monochromatic
#68175C #9A2289 #CC2DB5 #DB5BC8 #E68DD9

Accessibility & contrast

On white

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

On black

4.61
#CC2DB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2DB5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2DB5#FFFFFF#000000##000000
##CC2DB51.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C67B9
Deuteranopia (green-blind)
#687EB1
Tritanopia (blue-blind)
#D63C70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cc2db5;
/* rgb */ color: rgb(204, 45, 181);
/* oklch */ color: oklch(59.6% 0.235 335.0);
Tailwind
colors: {
  custom: {
    50: '#e078cb',
    500: '#cc2db5',
    950: '#000000',
  },
}
SCSS
$custom: #cc2db5;
$custom-light: #e078cb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2db5",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 308.679,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.23518,
    "h": 335
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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