#C76AFE#C76AFE

#C76AFE is a light, highly saturated violet. Relative luminance 0.296; OKLCH L 69.3% C 0.220 H 310.9°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#C76AFE
RGBrgb(199, 106, 254)
HSLhsl(278, 99%, 71%)
HSVhsv(278, 58%, 100%)
CMYKcmyk(21.7%, 58.3%, 0%, 0.4%)
CIE-LABlab(61.31, 61.00, -59.15)
CIE-LCHlch(61.31, 84.96, 315.88°)
OKLaboklab(69.25% 0.1442 -0.1663)
OKLCHoklch(69.25% 0.22 310.9)
XYZxyz(46.5933, 29.6069, 97.0069)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C76AFE #A1FE6A
analogous
#7D6AFE #C76AFE #FE6AEB
triadic
#C76AFE #FEC76A #6AFEC7
tetradic
#C76AFE #FE7D6A #A1FE6A #6AEBFE
square
#C76AFE #FE7D6A #A1FE6A #6AEBFE
split-complementary
#C76AFE #EBFE6A #6AFE7D
monochromatic
#9502EC #B02DFE #C76AFE #DEA7FE #F4E1FF

Accessibility & contrast

On white

3.03
#C76AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#C76AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C76AFE
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C76AFE#FFFFFF#000000##000000
##C76AFE1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3590FF
Deuteranopia (green-blind)
#5C96FA
Tritanopia (blue-blind)
#C085AA
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #c76afe;
/* rgb */ color: rgb(199, 106, 254);
/* oklch */ color: oklch(69.3% 0.220 310.9);
Tailwind
colors: {
  custom: {
    50: '#db99ff',
    500: '#c76afe',
    950: '#000000',
  },
}
SCSS
$custom: #c76afe;
$custom-light: #db99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c76afe",
  "rgb": {
    "r": 199,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 277.703,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69254,
    "c": 0.2201,
    "h": 310.9
  },
  "luminance": 0.29606
}

Semantic roles & 50–950 ramp

primary
#C76AFE
secondary
#DDF6CE
accent
#E60055
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #C76AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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