#CC4DB9#CC4DB9

#CC4DB9 is a light, highly saturated purple. Relative luminance 0.216; OKLCH L 62.7% C 0.201 H 334.1°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#CC4DB9
RGBrgb(204, 77, 185)
HSLhsl(309, 55%, 55%)
HSVhsv(309, 62%, 80%)
CMYKcmyk(0%, 62.3%, 9.3%, 20%)
CIE-LABlab(53.65, 62.57, -32.29)
CIE-LCHlch(53.65, 70.41, 332.71°)
OKLaboklab(62.67% 0.1811 -0.0881)
OKLCHoklch(62.67% 0.201 334.1)
XYZxyz(36.3129, 21.6507, 48.1560)
Luminance0.2165 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4DB9 #4DCC60
analogous
#9F4DCC #CC4DB9 #CC4D7A
triadic
#CC4DB9 #B9CC4D #4DB9CC
tetradic
#CC4DB9 #CC9F4D #4DCC60 #4D7ACC
square
#CC4DB9 #CC9F4D #4DCC60 #4D7ACC
split-complementary
#CC4DB9 #7ACC4D #4DCC9F
monochromatic
#7B236E #AB3199 #CC4DB9 #DA7DCC #E7ACDE

Accessibility & contrast

On white

3.94
#CC4DB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#CC4DB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4DB9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4DB9#FFFFFF#000000##000000
##CC4DB91.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B74BC
Deuteranopia (green-blind)
#7487B6
Tritanopia (blue-blind)
#D5567C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc4db9;
/* rgb */ color: rgb(204, 77, 185);
/* oklch */ color: oklch(62.7% 0.201 334.1);
Tailwind
colors: {
  custom: {
    50: '#df87ce',
    500: '#cc4db9',
    950: '#000000',
  },
}
SCSS
$custom: #cc4db9;
$custom-light: #df87ce;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4db9",
  "rgb": {
    "r": 204,
    "g": 77,
    "b": 185
  },
  "hsl": {
    "h": 308.976,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62669,
    "c": 0.20135,
    "h": 334.1
  },
  "luminance": 0.21648
}

Semantic roles & 50–950 ramp

primary
#CC4DB9
secondary
#A0D5A8
accent
#DF5F49
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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