#A876FA#A876FA

#A876FA is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.5% C 0.191 H 298.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A876FA
RGBrgb(168, 118, 250)
HSLhsl(263, 93%, 72%)
HSVhsv(263, 53%, 98%)
CMYKcmyk(32.8%, 52.8%, 0%, 2%)
CIE-LABlab(60.05, 46.49, -59.15)
CIE-LCHlch(60.05, 75.24, 308.17°)
OKLaboklab(67.5% 0.0914 -0.1672)
OKLCHoklch(67.5% 0.191 298.7)
XYZxyz(39.8780, 28.1834, 93.7629)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A876FA #C8FA76
analogous
#7686FA #A876FA #EA76FA
triadic
#A876FA #FAA876 #76FAA8
tetradic
#A876FA #FA7686 #C8FA76 #76FAEA
square
#A876FA #FA7686 #C8FA76 #76FAEA
split-complementary
#A876FA #FAEA76 #86FA76
monochromatic
#5F09ED #833BF8 #A876FA #CDB1FC #ECE1FE

Accessibility & contrast

On white

3.16
#A876FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#A876FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A876FA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A876FA#FFFFFF#000000##000000
##A876FA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4291FE
Deuteranopia (green-blind)
#5190F7
Tritanopia (blue-blind)
#9690AD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a876fa;
/* rgb */ color: rgb(168, 118, 250);
/* oklch */ color: oklch(67.5% 0.191 298.7);
Tailwind
colors: {
  custom: {
    50: '#c69ffd',
    500: '#a876fa',
    950: '#000000',
  },
}
SCSS
$custom: #a876fa;
$custom-light: #c69ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#a876fa",
  "rgb": {
    "r": 168,
    "g": 118,
    "b": 250
  },
  "hsl": {
    "h": 262.727,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67501,
    "c": 0.19053,
    "h": 298.7
  },
  "luminance": 0.28184
}

Semantic roles & 50–950 ramp

primary
#A876FA
secondary
#EAF6D5
accent
#E6008F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86

Preview Lab

Preview with #A876FA

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

Preview Lab → · Contrast checker → · Palette generator →

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