#CC4DB7#CC4DB7

#CC4DB7 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.6% C 0.200 H 334.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#CC4DB7
RGBrgb(204, 77, 183)
HSLhsl(310, 55%, 55%)
HSVhsv(310, 62%, 80%)
CMYKcmyk(0%, 62.3%, 10.3%, 20%)
CIE-LABlab(53.56, 62.26, -31.27)
CIE-LCHlch(53.56, 69.67, 333.33°)
OKLaboklab(62.57% 0.1808 -0.0852)
OKLCHoklch(62.57% 0.2 334.8)
XYZxyz(36.1032, 21.5669, 47.0519)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4DB7 #4DCC62
analogous
#A14DCC #CC4DB7 #CC4D78
triadic
#CC4DB7 #B7CC4D #4DB7CC
tetradic
#CC4DB7 #CCA14D #4DCC62 #4D78CC
square
#CC4DB7 #CCA14D #4DCC62 #4D78CC
split-complementary
#CC4DB7 #78CC4D #4DCCA1
monochromatic
#7B236D #AB3197 #CC4DB7 #DA7DCA #E7ACDD

Accessibility & contrast

On white

3.95
#CC4DB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#CC4DB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4DB7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4DB7#FFFFFF#000000##000000
##CC4DB71.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C74BA
Deuteranopia (green-blind)
#7587B4
Tritanopia (blue-blind)
#D5557B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc4db7;
/* rgb */ color: rgb(204, 77, 183);
/* oklch */ color: oklch(62.6% 0.200 334.8);
Tailwind
colors: {
  custom: {
    50: '#df87cd',
    500: '#cc4db7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4db7;
$custom-light: #df87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4db7",
  "rgb": {
    "r": 204,
    "g": 77,
    "b": 183
  },
  "hsl": {
    "h": 309.921,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62574,
    "c": 0.19985,
    "h": 334.8
  },
  "luminance": 0.21564
}

Semantic roles & 50–950 ramp

primary
#CC4DB7
secondary
#A0D5A9
accent
#DF6249
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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