#CC76ED#CC76ED

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

Color values

HEX#CC76ED
RGBrgb(204, 118, 237)
HSLhsl(283, 77%, 70%)
HSVhsv(283, 50%, 93%)
CMYKcmyk(13.9%, 50.2%, 0%, 7.1%)
CIE-LABlab(63.27, 52.77, -46.62)
CIE-LCHlch(63.27, 70.41, 318.54°)
OKLaboklab(70.53% 0.1339 -0.1297)
OKLCHoklch(70.53% 0.186 315.9)
XYZxyz(46.6640, 31.9101, 83.8055)
Luminance0.3191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC76ED #97ED76
analogous
#9076ED #CC76ED #ED76D3
triadic
#CC76ED #EDCC76 #76EDCC
tetradic
#CC76ED #ED9076 #97ED76 #76D3ED
square
#CC76ED #ED9076 #97ED76 #76D3ED
split-complementary
#CC76ED #D3ED76 #76ED90
monochromatic
#9C1BCE #B840E6 #CC76ED #E0ACF4 #F4E2FB

Accessibility & contrast

On white

2.84
#CC76ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CC76ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC76ED
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC76ED#FFFFFF#000000##000000
##CC76ED1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D94F1
Deuteranopia (green-blind)
#779CEA
Tritanopia (blue-blind)
#CA88A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc76ed;
/* rgb */ color: rgb(204, 118, 237);
/* oklch */ color: oklch(70.5% 0.186 315.9);
Tailwind
colors: {
  custom: {
    50: '#dea0f3',
    500: '#cc76ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc76ed;
$custom-light: #dea0f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc76ed",
  "rgb": {
    "r": 204,
    "g": 118,
    "b": 237
  },
  "hsl": {
    "h": 283.361,
    "s": 76.774,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70532,
    "c": 0.18637,
    "h": 315.9
  },
  "luminance": 0.31909
}

Semantic roles & 50–950 ramp

primary
#CC76ED
secondary
#D8F0CE
accent
#D90D45
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC76ED

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

Preview Lab → · Contrast checker → · Palette generator →

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