#CC4CC8#CC4CC8

#CC4CC8 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.3% C 0.214 H 329.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#CC4CC8
RGBrgb(204, 76, 200)
HSLhsl(302, 56%, 55%)
HSVhsv(302, 63%, 80%)
CMYKcmyk(0%, 62.7%, 2%, 20%)
CIE-LABlab(54.22, 65.40, -40.05)
CIE-LCHlch(54.22, 76.69, 328.52°)
OKLaboklab(63.31% 0.1838 -0.1104)
OKLCHoklch(63.31% 0.214 329)
XYZxyz(37.9112, 22.1790, 56.9166)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CC8 #4CCC50
analogous
#904CCC #CC4CC8 #CC4C88
triadic
#CC4CC8 #C8CC4C #4CC8CC
tetradic
#CC4CC8 #CC904C #4CCC50 #4C88CC
square
#CC4CC8 #CC904C #4CCC50 #4C88CC
split-complementary
#CC4CC8 #88CC4C #4CCC90
monochromatic
#7B2378 #AA31A6 #CC4CC8 #DA7CD7 #E7ABE5

Accessibility & contrast

On white

3.86
#CC4CC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#CC4CC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CC8
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CC8#FFFFFF#000000##000000
##CC4CC81.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F77CC
Deuteranopia (green-blind)
#6D88C5
Tritanopia (blue-blind)
#D35B83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc4cc8;
/* rgb */ color: rgb(204, 76, 200);
/* oklch */ color: oklch(63.3% 0.214 329.0);
Tailwind
colors: {
  custom: {
    50: '#df87d9',
    500: '#cc4cc8',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cc8;
$custom-light: #df87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cc8",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 301.875,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.63309,
    "c": 0.21439,
    "h": 329
  },
  "luminance": 0.22176
}

Semantic roles & 50–950 ramp

primary
#CC4CC8
secondary
#9FD5A1
accent
#DF4E49
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC4CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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