#CC4CD9#CC4CD9

#CC4CD9 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.2% C 0.228 H 323.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#CC4CD9
RGBrgb(204, 76, 217)
HSLhsl(294, 65%, 57%)
HSVhsv(294, 65%, 85%)
CMYKcmyk(6%, 65%, 0%, 14.9%)
CIE-LABlab(55.09, 68.30, -48.36)
CIE-LCHlch(55.09, 83.68, 324.70°)
OKLaboklab(64.22% 0.1846 -0.1344)
OKLCHoklch(64.22% 0.228 323.9)
XYZxyz(40.0096, 23.0183, 67.9678)
Luminance0.2302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CD9 #59D94C
analogous
#854CD9 #CC4CD9 #D94CA0
triadic
#CC4CD9 #D9CC4C #4CD9CC
tetradic
#CC4CD9 #D9854C #59D94C #4CA0D9
square
#CC4CD9 #D9854C #59D94C #4CA0D9
split-complementary
#CC4CD9 #A0D94C #4CD985
monochromatic
#831E8D #B129BF #CC4CD9 #DA7EE4 #E9B1EE

Accessibility & contrast

On white

3.75
#CC4CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#CC4CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CD9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CD9#FFFFFF#000000##000000
##CC4CD91.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7ADD
Deuteranopia (green-blind)
#6389D5
Tritanopia (blue-blind)
#D0628C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc4cd9;
/* rgb */ color: rgb(204, 76, 217);
/* oklch */ color: oklch(64.2% 0.228 323.9);
Tailwind
colors: {
  custom: {
    50: '#df87e5',
    500: '#cc4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cd9;
$custom-light: #df87e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cd9",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 294.468,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64225,
    "c": 0.22833,
    "h": 323.9
  },
  "luminance": 0.23016
}

Semantic roles & 50–950 ramp

primary
#CC4CD9
secondary
#A9DDA4
accent
#E8404F
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CC4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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