#CC4DC8#CC4DC8

#CC4DC8 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.4% C 0.213 H 329.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#CC4DC8
RGBrgb(204, 77, 200)
HSLhsl(302, 55%, 55%)
HSVhsv(302, 62%, 80%)
CMYKcmyk(0%, 62.3%, 2%, 20%)
CIE-LABlab(54.36, 64.99, -39.82)
CIE-LCHlch(54.36, 76.22, 328.51°)
OKLaboklab(63.42% 0.1826 -0.1097)
OKLCHoklch(63.42% 0.213 329)
XYZxyz(37.9807, 22.3179, 56.9397)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4DC8 #4DCC51
analogous
#914DCC #CC4DC8 #CC4D88
triadic
#CC4DC8 #C8CC4D #4DC8CC
tetradic
#CC4DC8 #CC914D #4DCC51 #4D88CC
square
#CC4DC8 #CC914D #4DCC51 #4D88CC
split-complementary
#CC4DC8 #88CC4D #4DCC91
monochromatic
#7B2379 #AB31A7 #CC4DC8 #DA7DD7 #E7ACE5

Accessibility & contrast

On white

3.84
#CC4DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#CC4DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4DC8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4DC8#FFFFFF#000000##000000
##CC4DC81.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4077CC
Deuteranopia (green-blind)
#6D88C5
Tritanopia (blue-blind)
#D35C84
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cc4dc8;
/* rgb */ color: rgb(204, 77, 200);
/* oklch */ color: oklch(63.4% 0.213 329.0);
Tailwind
colors: {
  custom: {
    50: '#df87d9',
    500: '#cc4dc8',
    950: '#000000',
  },
}
SCSS
$custom: #cc4dc8;
$custom-light: #df87d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4dc8",
  "rgb": {
    "r": 204,
    "g": 77,
    "b": 200
  },
  "hsl": {
    "h": 301.89,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63415,
    "c": 0.21305,
    "h": 329
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

primary
#CC4DC8
secondary
#A0D5A1
accent
#DF4E49
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #CC4DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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