#CC76E4#CC76E4

#CC76E4 is a light, vivid purple. Relative luminance 0.314; OKLCH L 70.1% C 0.177 H 318.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CC76E4
RGBrgb(204, 118, 228)
HSLhsl(287, 67%, 68%)
HSVhsv(287, 48%, 89%)
CMYKcmyk(10.5%, 48.2%, 0%, 10.6%)
CIE-LABlab(62.84, 50.96, -42.29)
CIE-LCHlch(62.84, 66.23, 320.31°)
OKLaboklab(70.08% 0.1328 -0.1172)
OKLCHoklch(70.08% 0.177 318.6)
XYZxyz(45.3820, 31.3973, 77.0535)
Luminance0.3140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC76E4 #8EE476
analogous
#9576E4 #CC76E4 #E476C5
triadic
#CC76E4 #E4CC76 #76E4CC
tetradic
#CC76E4 #E49576 #8EE476 #76C5E4
square
#CC76E4 #E49576 #8EE476 #76C5E4
split-complementary
#CC76E4 #C5E476 #76E495
monochromatic
#9A25BB #B943DA #CC76E4 #DFA9EE #F2DCF8

Accessibility & contrast

On white

2.88
#CC76E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CC76E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC76E4
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC76E4#FFFFFF#000000##000000
##CC76E41.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6392E8
Deuteranopia (green-blind)
#7C9BE1
Tritanopia (blue-blind)
#CC85A3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc76e4;
/* rgb */ color: rgb(204, 118, 228);
/* oklch */ color: oklch(70.1% 0.177 318.6);
Tailwind
colors: {
  custom: {
    50: '#dda0ed',
    500: '#cc76e4',
    950: '#000000',
  },
}
SCSS
$custom: #cc76e4;
$custom-light: #dda0ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cc76e4",
  "rgb": {
    "r": 204,
    "g": 118,
    "b": 228
  },
  "hsl": {
    "h": 286.909,
    "s": 67.073,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70077,
    "c": 0.17706,
    "h": 318.6
  },
  "luminance": 0.31396
}

Semantic roles & 50–950 ramp

primary
#CC76E4
secondary
#D1ECCA
accent
#CF173F
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC76E4

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

Preview Lab → · Contrast checker → · Palette generator →

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