#CC4AD5#CC4AD5

#CC4AD5 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.8% C 0.228 H 325.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#CC4AD5
RGBrgb(204, 74, 213)
HSLhsl(296, 62%, 56%)
HSVhsv(296, 65%, 84%)
CMYKcmyk(4.2%, 65.3%, 0%, 16.5%)
CIE-LABlab(54.60, 68.39, -46.87)
CIE-LCHlch(54.60, 82.91, 325.58°)
OKLaboklab(63.8% 0.1867 -0.1301)
OKLCHoklch(63.8% 0.228 325.1)
XYZxyz(39.3599, 22.5414, 65.2157)
Luminance0.2254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AD5 #53D54A
analogous
#874AD5 #CC4AD5 #D54A99
triadic
#CC4AD5 #D5CC4A #4AD5CC
tetradic
#CC4AD5 #D5874A #53D54A #4A99D5
square
#CC4AD5 #D5874A #53D54A #4A99D5
split-complementary
#CC4AD5 #99D54A #4AD587
monochromatic
#7F1F86 #AE2BB7 #CC4AD5 #DA7CE1 #E8ADEC

Accessibility & contrast

On white

3.81
#CC4AD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#CC4AD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AD5
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AD5#FFFFFF#000000##000000
##CC4AD51.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E78D9
Deuteranopia (green-blind)
#6588D1
Tritanopia (blue-blind)
#D05F8A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc4ad5;
/* rgb */ color: rgb(204, 74, 213);
/* oklch */ color: oklch(63.8% 0.228 325.1);
Tailwind
colors: {
  custom: {
    50: '#df86e2',
    500: '#cc4ad5',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ad5;
$custom-light: #df86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ad5",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 296.115,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.638,
    "c": 0.22752,
    "h": 325.1
  },
  "luminance": 0.22539
}

Semantic roles & 50–950 ramp

primary
#CC4AD5
secondary
#A4DAA1
accent
#E5424D
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC4AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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