#CC4AD9#CC4AD9

#CC4AD9 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.0% C 0.231 H 324.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#CC4AD9
RGBrgb(204, 74, 217)
HSLhsl(295, 65%, 57%)
HSVhsv(295, 66%, 85%)
CMYKcmyk(6%, 65.9%, 0%, 14.9%)
CIE-LABlab(54.81, 69.08, -48.80)
CIE-LCHlch(54.81, 84.58, 324.76°)
OKLaboklab(64.02% 0.1867 -0.1357)
OKLCHoklch(64.02% 0.231 324)
XYZxyz(39.8739, 22.7470, 67.9226)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AD9 #57D94A
analogous
#844AD9 #CC4AD9 #D94A9F
triadic
#CC4AD9 #D9CC4A #4AD9CC
tetradic
#CC4AD9 #D9844A #57D94A #4A9FD9
square
#CC4AD9 #D9844A #57D94A #4A9FD9
split-complementary
#CC4AD9 #9FD94A #4AD984
monochromatic
#811D8B #B028BE #CC4AD9 #DA7DE4 #E9AFEE

Accessibility & contrast

On white

3.78
#CC4AD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#CC4AD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AD9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AD9#FFFFFF#000000##000000
##CC4AD91.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DD
Deuteranopia (green-blind)
#6288D5
Tritanopia (blue-blind)
#D0618C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc4ad9;
/* rgb */ color: rgb(204, 74, 217);
/* oklch */ color: oklch(64.0% 0.231 324.0);
Tailwind
colors: {
  custom: {
    50: '#df86e5',
    500: '#cc4ad9',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ad9;
$custom-light: #df86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ad9",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 217
  },
  "hsl": {
    "h": 294.545,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.64023,
    "c": 0.23082,
    "h": 324
  },
  "luminance": 0.22745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC4AD9

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

Preview Lab → · Contrast checker → · Palette generator →

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