#A876EA#A876EA

#A876EA is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.6% C 0.171 H 301.9°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A876EA
RGBrgb(168, 118, 234)
HSLhsl(266, 73%, 69%)
HSVhsv(266, 50%, 92%)
CMYKcmyk(28.2%, 49.6%, 0%, 8.2%)
CIE-LABlab(59.18, 42.59, -51.68)
CIE-LCHlch(59.18, 66.97, 309.49°)
OKLaboklab(66.57% 0.0903 -0.1453)
OKLCHoklch(66.57% 0.171 301.9)
XYZxyz(37.4748, 27.2221, 81.1061)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A876EA #B8EA76
analogous
#767EEA #A876EA #E276EA
triadic
#A876EA #EAA876 #76EAA8
tetradic
#A876EA #EA767E #B8EA76 #76EAE2
square
#A876EA #EA767E #B8EA76 #76EAE2
split-complementary
#A876EA #EAE276 #7EEA76
monochromatic
#671FC7 #8641E2 #A876EA #CAABF2 #EBE0FA

Accessibility & contrast

On white

3.26
#A876EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A876EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A876EA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A876EA#FFFFFF#000000##000000
##A876EA1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEE
Deuteranopia (green-blind)
#5E8EE7
Tritanopia (blue-blind)
#9C8BA5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a876ea;
/* rgb */ color: rgb(168, 118, 234);
/* oklch */ color: oklch(66.6% 0.171 301.9);
Tailwind
colors: {
  custom: {
    50: '#c59ff1',
    500: '#a876ea',
    950: '#000000',
  },
}
SCSS
$custom: #a876ea;
$custom-light: #c59ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#a876ea",
  "rgb": {
    "r": 168,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 265.862,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66569,
    "c": 0.17107,
    "h": 301.9
  },
  "luminance": 0.27222
}

Semantic roles & 50–950 ramp

primary
#A876EA
secondary
#E0EFCD
accent
#D61080
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A876EA

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

Preview Lab → · Contrast checker → · Palette generator →

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