#CC76E2#CC76E2

#CC76E2 is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.0% C 0.175 H 319.2°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CC76E2
RGBrgb(204, 118, 226)
HSLhsl(288, 65%, 67%)
HSVhsv(288, 48%, 89%)
CMYKcmyk(9.7%, 47.8%, 0%, 11.4%)
CIE-LABlab(62.75, 50.57, -41.32)
CIE-LCHlch(62.75, 65.31, 320.74°)
OKLaboklab(69.98% 0.1325 -0.1144)
OKLCHoklch(69.98% 0.175 319.2)
XYZxyz(45.1060, 31.2869, 75.5997)
Luminance0.3129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC76E2 #8CE276
analogous
#9676E2 #CC76E2 #E276C2
triadic
#CC76E2 #E2CC76 #76E2CC
tetradic
#CC76E2 #E29676 #8CE276 #76C2E2
square
#CC76E2 #E29676 #8CE276 #76C2E2
split-complementary
#CC76E2 #C2E276 #76E296
monochromatic
#9A27B7 #B943D7 #CC76E2 #DFA9ED #F2DBF7

Accessibility & contrast

On white

2.89
#CC76E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#CC76E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC76E2
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC76E2#FFFFFF#000000##000000
##CC76E21.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#7D9BDF
Tritanopia (blue-blind)
#CD85A2
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc76e2;
/* rgb */ color: rgb(204, 118, 226);
/* oklch */ color: oklch(70.0% 0.175 319.2);
Tailwind
colors: {
  custom: {
    50: '#dda0eb',
    500: '#cc76e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc76e2;
$custom-light: #dda0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc76e2",
  "rgb": {
    "r": 204,
    "g": 118,
    "b": 226
  },
  "hsl": {
    "h": 287.778,
    "s": 65.06,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69978,
    "c": 0.17501,
    "h": 319.2
  },
  "luminance": 0.31285
}

Semantic roles & 50–950 ramp

primary
#CC76E2
secondary
#D0EBC9
accent
#CD193D
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC76E2

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

Preview Lab → · Contrast checker → · Palette generator →

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