#CC76F8#CC76F8

#CC76F8 is a light, vivid violet. Relative luminance 0.326; OKLCH L 71.1% C 0.198 H 313.0°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CC76F8
RGBrgb(204, 118, 248)
HSLhsl(280, 90%, 72%)
HSVhsv(280, 52%, 97%)
CMYKcmyk(17.7%, 52.4%, 0%, 2.7%)
CIE-LABlab(63.81, 55.03, -51.83)
CIE-LCHlch(63.81, 75.60, 316.72°)
OKLaboklab(71.11% 0.1349 -0.1448)
OKLCHoklch(71.11% 0.198 313)
XYZxyz(48.3207, 32.5727, 92.5305)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC76F8 #A2F876
analogous
#8B76F8 #CC76F8 #F876E3
triadic
#CC76F8 #F8CC76 #76F8CC
tetradic
#CC76F8 #F88B76 #A2F876 #76E3F8
square
#CC76F8 #F88B76 #A2F876 #76E3F8
split-complementary
#CC76F8 #E3F876 #76F88B
monochromatic
#9D0CE8 #B63CF5 #CC76F8 #E2B0FB #F4E2FE

Accessibility & contrast

On white

2.79
#CC76F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CC76F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC76F8
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC76F8#FFFFFF#000000##000000
##CC76F81.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#C88BAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc76f8;
/* rgb */ color: rgb(204, 118, 248);
/* oklch */ color: oklch(71.1% 0.198 313.0);
Tailwind
colors: {
  custom: {
    50: '#dea0fb',
    500: '#cc76f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc76f8;
$custom-light: #dea0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc76f8",
  "rgb": {
    "r": 204,
    "g": 118,
    "b": 248
  },
  "hsl": {
    "h": 279.692,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71112,
    "c": 0.19792,
    "h": 313
  },
  "luminance": 0.32572
}

Semantic roles & 50–950 ramp

primary
#CC76F8
secondary
#E0F5D4
accent
#E6004E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC76F8

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

Preview Lab → · Contrast checker → · Palette generator →

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