#CC76EA#CC76EA

#CC76EA is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.4% C 0.183 H 316.8°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CC76EA
RGBrgb(204, 118, 234)
HSLhsl(284, 73%, 69%)
HSVhsv(284, 50%, 92%)
CMYKcmyk(12.8%, 49.6%, 0%, 8.2%)
CIE-LABlab(63.12, 52.16, -45.18)
CIE-LCHlch(63.12, 69.01, 319.10°)
OKLaboklab(70.38% 0.1335 -0.1255)
OKLCHoklch(70.38% 0.183 316.8)
XYZxyz(46.2294, 31.7362, 81.5164)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC76EA #94EA76
analogous
#9276EA #CC76EA #EA76CE
triadic
#CC76EA #EACC76 #76EACC
tetradic
#CC76EA #EA9276 #94EA76 #76CEEA
square
#CC76EA #EA9276 #94EA76 #76CEEA
split-complementary
#CC76EA #CEEA76 #76EA92
monochromatic
#9B1FC7 #B841E2 #CC76EA #E0ABF2 #F4E0FA

Accessibility & contrast

On white

2.86
#CC76EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#CC76EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC76EA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC76EA#FFFFFF#000000##000000
##CC76EA1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#799BE7
Tritanopia (blue-blind)
#CB87A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc76ea;
/* rgb */ color: rgb(204, 118, 234);
/* oklch */ color: oklch(70.4% 0.183 316.8);
Tailwind
colors: {
  custom: {
    50: '#dea0f1',
    500: '#cc76ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc76ea;
$custom-light: #dea0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc76ea",
  "rgb": {
    "r": 204,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 284.483,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70378,
    "c": 0.18325,
    "h": 316.8
  },
  "luminance": 0.31735
}

Semantic roles & 50–950 ramp

primary
#CC76EA
secondary
#D6EFCD
accent
#D61043
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC76EA

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

Preview Lab → · Contrast checker → · Palette generator →

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