#CC76E8#CC76E8

#CC76E8 is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.3% C 0.181 H 317.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CC76E8
RGBrgb(204, 118, 232)
HSLhsl(285, 71%, 69%)
HSVhsv(285, 49%, 91%)
CMYKcmyk(12.1%, 49.1%, 0%, 9%)
CIE-LABlab(63.03, 51.76, -44.22)
CIE-LCHlch(63.03, 68.08, 319.49°)
OKLaboklab(70.28% 0.1333 -0.1227)
OKLCHoklch(70.28% 0.181 317.4)
XYZxyz(45.9437, 31.6219, 80.0118)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC76E8 #92E876
analogous
#9376E8 #CC76E8 #E876CB
triadic
#CC76E8 #E8CC76 #76E8CC
tetradic
#CC76E8 #E89376 #92E876 #76CBE8
square
#CC76E8 #E89376 #92E876 #76CBE8
split-complementary
#CC76E8 #CBE876 #76E893
monochromatic
#9B21C3 #B842DF #CC76E8 #E0AAF1 #F3DFFA

Accessibility & contrast

On white

2.87
#CC76E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CC76E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC76E8
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC76E8#FFFFFF#000000##000000
##CC76E81.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6093EC
Deuteranopia (green-blind)
#7A9BE5
Tritanopia (blue-blind)
#CB87A4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc76e8;
/* rgb */ color: rgb(204, 118, 232);
/* oklch */ color: oklch(70.3% 0.181 317.4);
Tailwind
colors: {
  custom: {
    50: '#dea0f0',
    500: '#cc76e8',
    950: '#000000',
  },
}
SCSS
$custom: #cc76e8;
$custom-light: #dea0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc76e8",
  "rgb": {
    "r": 204,
    "g": 118,
    "b": 232
  },
  "hsl": {
    "h": 285.263,
    "s": 71.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70277,
    "c": 0.18118,
    "h": 317.4
  },
  "luminance": 0.3162
}

Semantic roles & 50–950 ramp

primary
#CC76E8
secondary
#D4EECC
accent
#D31242
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC76E8

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

Preview Lab → · Contrast checker → · Palette generator →

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