#CC76DD#CC76DD

#CC76DD is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.7% C 0.170 H 320.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CC76DD
RGBrgb(204, 118, 221)
HSLhsl(290, 60%, 66%)
HSVhsv(290, 47%, 87%)
CMYKcmyk(7.7%, 46.6%, 0%, 13.3%)
CIE-LABlab(62.52, 49.59, -38.89)
CIE-LCHlch(62.52, 63.02, 321.89°)
OKLaboklab(69.73% 0.1317 -0.1073)
OKLCHoklch(69.73% 0.17 320.8)
XYZxyz(44.4299, 31.0164, 72.0390)
Luminance0.3101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC76DD #87DD76
analogous
#9976DD #CC76DD #DD76BB
triadic
#CC76DD #DDCC76 #76DDCC
tetradic
#CC76DD #DD9976 #87DD76 #76BBDD
square
#CC76DD #DD9976 #87DD76 #76BBDD
split-complementary
#CC76DD #BBDD76 #76DD99
monochromatic
#982BAE #BA45D1 #CC76DD #DEA7E9 #F1D8F5

Accessibility & contrast

On white

2.92
#CC76DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#CC76DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC76DD
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC76DD#FFFFFF#000000##000000
##CC76DD1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E1
Deuteranopia (green-blind)
#7F9ADA
Tritanopia (blue-blind)
#CE839F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc76dd;
/* rgb */ color: rgb(204, 118, 221);
/* oklch */ color: oklch(69.7% 0.170 320.8);
Tailwind
colors: {
  custom: {
    50: '#dda0e8',
    500: '#cc76dd',
    950: '#000000',
  },
}
SCSS
$custom: #cc76dd;
$custom-light: #dda0e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc76dd",
  "rgb": {
    "r": 204,
    "g": 118,
    "b": 221
  },
  "hsl": {
    "h": 290.097,
    "s": 60.234,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69734,
    "c": 0.16994,
    "h": 320.8
  },
  "luminance": 0.31015
}

Semantic roles & 50–950 ramp

primary
#CC76DD
secondary
#CCE8C7
accent
#C81E3A
background
#FDFAFE
surface
#FBF3FC
border
#D4CDD5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC76DD

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

Preview Lab → · Contrast checker → · Palette generator →

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