#CC4CD6#CC4CD6

#CC4CD6 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.1% C 0.226 H 324.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CC4CD6
RGBrgb(204, 76, 214)
HSLhsl(296, 63%, 57%)
HSVhsv(296, 64%, 84%)
CMYKcmyk(4.7%, 64.5%, 0%, 16.1%)
CIE-LABlab(54.93, 67.77, -46.91)
CIE-LCHlch(54.93, 82.42, 325.31°)
OKLaboklab(64.06% 0.1845 -0.1302)
OKLCHoklch(64.06% 0.226 324.8)
XYZxyz(39.6229, 22.8637, 65.9314)
Luminance0.2286 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CD6 #56D64C
analogous
#874CD6 #CC4CD6 #D64C9B
triadic
#CC4CD6 #D6CC4C #4CD6CC
tetradic
#CC4CD6 #D6874C #56D64C #4C9BD6
square
#CC4CD6 #D6874C #56D64C #4C9BD6
split-complementary
#CC4CD6 #9BD64C #4CD687
monochromatic
#811F88 #B02BBA #CC4CD6 #DA7EE1 #E8B0ED

Accessibility & contrast

On white

3.77
#CC4CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CC4CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CD6
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CD6#FFFFFF#000000##000000
##CC4CD61.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3179DA
Deuteranopia (green-blind)
#6589D2
Tritanopia (blue-blind)
#D0618B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc4cd6;
/* rgb */ color: rgb(204, 76, 214);
/* oklch */ color: oklch(64.1% 0.226 324.8);
Tailwind
colors: {
  custom: {
    50: '#df87e3',
    500: '#cc4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cd6;
$custom-light: #df87e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cd6",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 295.652,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.64059,
    "c": 0.22582,
    "h": 324.8
  },
  "luminance": 0.22861
}

Semantic roles & 50–950 ramp

primary
#CC4CD6
secondary
#A7DBA3
accent
#E6424E
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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