#CC76EC#CC76EC

#CC76EC is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.5% C 0.185 H 316.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CC76EC
RGBrgb(204, 118, 236)
HSLhsl(284, 76%, 69%)
HSVhsv(284, 50%, 93%)
CMYKcmyk(13.6%, 50%, 0%, 7.5%)
CIE-LABlab(63.22, 52.57, -46.14)
CIE-LCHlch(63.22, 69.94, 318.72°)
OKLaboklab(70.48% 0.1338 -0.1283)
OKLCHoklch(70.48% 0.185 316.2)
XYZxyz(46.5183, 31.8518, 83.0382)
Luminance0.3185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC76EC #96EC76
analogous
#9176EC #CC76EC #EC76D1
triadic
#CC76EC #ECCC76 #76ECCC
tetradic
#CC76EC #EC9176 #96EC76 #76D1EC
square
#CC76EC #EC9176 #96EC76 #76D1EC
split-complementary
#CC76EC #D1EC76 #76EC91
monochromatic
#9C1CCB #B840E5 #CC76EC #E0ACF3 #F4E1FB

Accessibility & contrast

On white

2.85
#CC76EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CC76EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC76EC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC76EC#FFFFFF#000000##000000
##CC76EC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#CB88A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc76ec;
/* rgb */ color: rgb(204, 118, 236);
/* oklch */ color: oklch(70.5% 0.185 316.2);
Tailwind
colors: {
  custom: {
    50: '#dea0f2',
    500: '#cc76ec',
    950: '#000000',
  },
}
SCSS
$custom: #cc76ec;
$custom-light: #dea0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc76ec",
  "rgb": {
    "r": 204,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 283.729,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70481,
    "c": 0.18533,
    "h": 316.2
  },
  "luminance": 0.3185
}

Semantic roles & 50–950 ramp

primary
#CC76EC
secondary
#D7F0CE
accent
#D80E44
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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