#CC4ED2#CC4ED2

#CC4ED2 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.0% C 0.220 H 325.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CC4ED2
RGBrgb(204, 78, 210)
HSLhsl(297, 59%, 56%)
HSVhsv(297, 63%, 82%)
CMYKcmyk(2.9%, 62.9%, 0%, 17.6%)
CIE-LABlab(55.01, 66.28, -44.50)
CIE-LCHlch(55.01, 79.83, 326.12°)
OKLaboklab(64.05% 0.1821 -0.1233)
OKLCHoklch(64.05% 0.22 325.9)
XYZxyz(39.2583, 22.9417, 63.3207)
Luminance0.2294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4ED2 #54D24E
analogous
#8A4ED2 #CC4ED2 #D24E96
triadic
#CC4ED2 #D2CC4E #4ED2CC
tetradic
#CC4ED2 #D28A4E #54D24E #4E96D2
square
#CC4ED2 #D28A4E #54D24E #4E96D2
split-complementary
#CC4ED2 #96D24E #4ED28A
monochromatic
#802284 #AF2EB5 #CC4ED2 #DA7FDE #E8B0EB

Accessibility & contrast

On white

3.76
#CC4ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CC4ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4ED2
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4ED2#FFFFFF#000000##000000
##CC4ED21.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#387AD6
Deuteranopia (green-blind)
#6989CE
Tritanopia (blue-blind)
#D16189
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc4ed2;
/* rgb */ color: rgb(204, 78, 210);
/* oklch */ color: oklch(64.0% 0.220 325.9);
Tailwind
colors: {
  custom: {
    50: '#df88e0',
    500: '#cc4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ed2;
$custom-light: #df88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ed2",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 297.273,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6405,
    "c": 0.21991,
    "h": 325.9
  },
  "luminance": 0.22939
}

Semantic roles & 50–950 ramp

primary
#CC4ED2
secondary
#A5D9A3
accent
#E3454C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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