#CC76FC#CC76FC

#CC76FC is a light, highly saturated violet. Relative luminance 0.328; OKLCH L 71.3% C 0.202 H 312.0°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CC76FC
RGBrgb(204, 118, 252)
HSLhsl(279, 96%, 73%)
HSVhsv(279, 53%, 99%)
CMYKcmyk(19%, 53.2%, 0%, 1.2%)
CIE-LABlab(64.02, 55.87, -53.71)
CIE-LCHlch(64.02, 77.50, 316.13°)
OKLaboklab(71.33% 0.1352 -0.1503)
OKLCHoklch(71.33% 0.202 312)
XYZxyz(48.9478, 32.8236, 95.8337)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC76FC #A6FC76
analogous
#8976FC #CC76FC #FC76E9
triadic
#CC76FC #FCCC76 #76FCCC
tetradic
#CC76FC #FC8976 #A6FC76 #76E9FC
square
#CC76FC #FC8976 #A6FC76 #76E9FC
split-complementary
#CC76FC #E9FC76 #76FC89
monochromatic
#9D05F2 #B63AFB #CC76FC #E2B2FD #F4E1FE

Accessibility & contrast

On white

2.78
#CC76FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CC76FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC76FC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC76FC#FFFFFF#000000##000000
##CC76FC1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#6E9DF9
Tritanopia (blue-blind)
#C78DAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc76fc;
/* rgb */ color: rgb(204, 118, 252);
/* oklch */ color: oklch(71.3% 0.202 312.0);
Tailwind
colors: {
  custom: {
    50: '#dea0fe',
    500: '#cc76fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc76fc;
$custom-light: #dea0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc76fc",
  "rgb": {
    "r": 204,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 278.507,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71329,
    "c": 0.20215,
    "h": 312
  },
  "luminance": 0.32823
}

Semantic roles & 50–950 ramp

primary
#CC76FC
secondary
#E1F7D4
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC76FC

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

Preview Lab → · Contrast checker → · Palette generator →

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