#CC4AD7#CC4AD7

#CC4AD7 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.9% C 0.229 H 324.5°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#CC4AD7
RGBrgb(204, 74, 215)
HSLhsl(295, 64%, 57%)
HSVhsv(295, 66%, 84%)
CMYKcmyk(5.1%, 65.6%, 0%, 15.7%)
CIE-LABlab(54.70, 68.73, -47.84)
CIE-LCHlch(54.70, 83.74, 325.16°)
OKLaboklab(63.91% 0.1867 -0.1329)
OKLCHoklch(63.91% 0.229 324.5)
XYZxyz(39.6154, 22.6436, 66.5608)
Luminance0.2264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4AD7 #55D74A
analogous
#864AD7 #CC4AD7 #D74A9C
triadic
#CC4AD7 #D7CC4A #4AD7CC
tetradic
#CC4AD7 #D7864A #55D74A #4A9CD7
square
#CC4AD7 #D7864A #55D74A #4A9CD7
split-complementary
#CC4AD7 #9CD74A #4AD786
monochromatic
#801E88 #AF29BB #CC4AD7 #DA7CE2 #E8AEED

Accessibility & contrast

On white

3.80
#CC4AD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#CC4AD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4AD7
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4AD7#FFFFFF#000000##000000
##CC4AD71.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C79DB
Deuteranopia (green-blind)
#6388D3
Tritanopia (blue-blind)
#D0608B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cc4ad7;
/* rgb */ color: rgb(204, 74, 215);
/* oklch */ color: oklch(63.9% 0.229 324.5);
Tailwind
colors: {
  custom: {
    50: '#df86e4',
    500: '#cc4ad7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ad7;
$custom-light: #df86e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ad7",
  "rgb": {
    "r": 204,
    "g": 74,
    "b": 215
  },
  "hsl": {
    "h": 295.319,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.63911,
    "c": 0.22917,
    "h": 324.5
  },
  "luminance": 0.22641
}

Semantic roles & 50–950 ramp

primary
#CC4AD7
secondary
#A6DBA2
accent
#E7414E
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CC4AD7

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

Preview Lab → · Contrast checker → · Palette generator →

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