#CC2DC9#CC2DC9

#CC2DC9 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.7% C 0.249 H 329.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CC2DC9
RGBrgb(204, 45, 201)
HSLhsl(301, 64%, 49%)
HSVhsv(301, 78%, 80%)
CMYKcmyk(0%, 77.9%, 1.5%, 20%)
CIE-LABlab(50.61, 75.93, -46.33)
CIE-LCHlch(50.61, 88.95, 328.61°)
OKLaboklab(60.73% 0.2134 -0.1283)
OKLCHoklch(60.73% 0.249 329)
XYZxyz(36.3825, 18.9340, 56.9854)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC2DC9 #2DCC30
analogous
#802DCC #CC2DC9 #CC2D7A
triadic
#CC2DC9 #C9CC2D #2DC9CC
tetradic
#CC2DC9 #CC802D #2DCC30 #2D7ACC
square
#CC2DC9 #CC802D #2DCC30 #2D7ACC
split-complementary
#CC2DC9 #7ACC2D #2DCC80
monochromatic
#681766 #9A2298 #CC2DC9 #DB5BD8 #E68DE4

Accessibility & contrast

On white

4.39
#CC2DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CC2DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC2DC9
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC2DC9#FFFFFF#000000##000000
##CC2DC91.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#5E80C5
Tritanopia (blue-blind)
#D3477B
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cc2dc9;
/* rgb */ color: rgb(204, 45, 201);
/* oklch */ color: oklch(60.7% 0.249 329.0);
Tailwind
colors: {
  custom: {
    50: '#e079da',
    500: '#cc2dc9',
    950: '#000000',
  },
}
SCSS
$custom: #cc2dc9;
$custom-light: #e079da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc2dc9",
  "rgb": {
    "r": 204,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 301.132,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60734,
    "c": 0.24899,
    "h": 329
  },
  "luminance": 0.18931
}

Semantic roles & 50–950 ramp

primary
#CC2DC9
secondary
#85D086
accent
#E74441
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #CC2DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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