#CC4AE1#CC4AE1

#CC4AE1 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.5% C 0.238 H 321.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#CC4AE1
RGBrgb(204, 74, 225)
HSLhsl(292, 72%, 59%)
HSVhsv(292, 67%, 88%)
CMYKcmyk(9.3%, 67.1%, 0%, 11.8%)
CIE-LABlab(55.25, 70.49, -52.63)
CIE-LCHlch(55.25, 87.97, 323.26°)
OKLaboklab(64.48% 0.1867 -0.1469)
OKLCHoklch(64.48% 0.238 321.8)
XYZxyz(40.9398, 23.1734, 73.5360)
Luminance0.2317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AE1 #5FE14A
analogous
#804AE1 #CC4AE1 #E14AAA
triadic
#CC4AE1 #E1CC4A #4AE1CC
tetradic
#CC4AE1 #E1804A #5FE14A #4AAAE1
square
#CC4AE1 #E1804A #5FE14A #4AAAE1
split-complementary
#CC4AE1 #AAE14A #4AE180
monochromatic
#861997 #B422CC #CC4AE1 #DB7EEA #EAB3F2

Accessibility & contrast

On white

3.73
#CC4AE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#CC4AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AE1
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AE1#FFFFFF#000000##000000
##CC4AE11.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#197BE5
Deuteranopia (green-blind)
#5D89DD
Tritanopia (blue-blind)
#CE6490
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc4ae1;
/* rgb */ color: rgb(204, 74, 225);
/* oklch */ color: oklch(64.5% 0.238 321.8);
Tailwind
colors: {
  custom: {
    50: '#df86eb',
    500: '#cc4ae1',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ae1;
$custom-light: #df86eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ae1",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 225
  },
  "hsl": {
    "h": 291.656,
    "s": 71.564,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64481,
    "c": 0.23751,
    "h": 321.8
  },
  "luminance": 0.23171
}

Semantic roles & 50–950 ramp

primary
#CC4AE1
secondary
#AEE1A6
accent
#EE3953
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CC4AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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