#CC4EE2#CC4EE2

#CC4EE2 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.9% C 0.233 H 321.4°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#CC4EE2
RGBrgb(204, 78, 226)
HSLhsl(291, 72%, 60%)
HSVhsv(291, 65%, 89%)
CMYKcmyk(9.7%, 65.5%, 0%, 11.4%)
CIE-LABlab(55.87, 69.10, -52.21)
CIE-LCHlch(55.87, 86.61, 322.93°)
OKLaboklab(64.94% 0.1824 -0.1457)
OKLCHoklch(64.94% 0.233 321.4)
XYZxyz(41.3522, 23.7793, 74.3485)
Luminance0.2378 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EE2 #64E24E
analogous
#824EE2 #CC4EE2 #E24EAE
triadic
#CC4EE2 #E2CC4E #4EE2CC
tetradic
#CC4EE2 #E2824E #64E24E #4EAEE2
square
#CC4EE2 #E2824E #64E24E #4EAEE2
split-complementary
#CC4EE2 #AEE24E #4EE282
monochromatic
#891A9C #B722D1 #CC4EE2 #DB83EB #EAB7F3

Accessibility & contrast

On white

3.65
#CC4EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#CC4EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EE2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EE2#FFFFFF#000000##000000
##CC4EE21.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#227DE6
Deuteranopia (green-blind)
#5F8BDE
Tritanopia (blue-blind)
#CE6792
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc4ee2;
/* rgb */ color: rgb(204, 78, 226);
/* oklch */ color: oklch(64.9% 0.233 321.4);
Tailwind
colors: {
  custom: {
    50: '#df88ec',
    500: '#cc4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ee2;
$custom-light: #df88ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ee2",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 291.081,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64942,
    "c": 0.23344,
    "h": 321.4
  },
  "luminance": 0.23777
}

Semantic roles & 50–950 ramp

primary
#CC4EE2
secondary
#B2E3A9
accent
#EF3954
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CC4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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