#CC4CB7#CC4CB7

#CC4CB7 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.5% C 0.201 H 334.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CC4CB7
RGBrgb(204, 76, 183)
HSLhsl(310, 56%, 55%)
HSVhsv(310, 63%, 80%)
CMYKcmyk(0%, 62.7%, 10.3%, 20%)
CIE-LABlab(53.41, 62.68, -31.50)
CIE-LCHlch(53.41, 70.15, 333.32°)
OKLaboklab(62.47% 0.182 -0.0858)
OKLCHoklch(62.47% 0.201 334.8)
XYZxyz(36.0338, 21.4280, 47.0287)
Luminance0.2142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CB7 #4CCC61
analogous
#A14CCC #CC4CB7 #CC4C77
triadic
#CC4CB7 #B7CC4C #4CB7CC
tetradic
#CC4CB7 #CCA14C #4CCC61 #4C77CC
square
#CC4CB7 #CCA14C #4CCC61 #4C77CC
split-complementary
#CC4CB7 #77CC4C #4CCCA1
monochromatic
#7B236C #AA3196 #CC4CB7 #DA7CCA #E7ABDD

Accessibility & contrast

On white

3.97
#CC4CB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CC4CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CB7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CB7#FFFFFF#000000##000000
##CC4CB71.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc4cb7;
/* rgb */ color: rgb(204, 76, 183);
/* oklch */ color: oklch(62.5% 0.201 334.8);
Tailwind
colors: {
  custom: {
    50: '#df86cd',
    500: '#cc4cb7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cb7;
$custom-light: #df86cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cb7",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 309.844,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62465,
    "c": 0.20123,
    "h": 334.8
  },
  "luminance": 0.21425
}

Semantic roles & 50–950 ramp

primary
#CC4CB7
secondary
#9FD5A8
accent
#DF6149
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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