#A876F9#A876F9

#A876F9 is a light, vivid violet. Relative luminance 0.281; OKLCH L 67.4% C 0.189 H 298.8°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A876F9
RGBrgb(168, 118, 249)
HSLhsl(263, 92%, 72%)
HSVhsv(263, 53%, 98%)
CMYKcmyk(32.5%, 52.6%, 0%, 2.4%)
CIE-LABlab(60.00, 46.25, -58.69)
CIE-LCHlch(60.00, 74.72, 308.24°)
OKLaboklab(67.44% 0.0914 -0.1658)
OKLCHoklch(67.44% 0.189 298.8)
XYZxyz(39.7216, 28.1209, 92.9393)
Luminance0.2812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A876F9 #C7F976
analogous
#7686F9 #A876F9 #EA76F9
triadic
#A876F9 #F9A876 #76F9A8
tetradic
#A876F9 #F97686 #C7F976 #76F9EA
square
#A876F9 #F97686 #C7F976 #76F9EA
split-complementary
#A876F9 #F9EA76 #86F976
monochromatic
#600AEA #833BF6 #A876F9 #CDB1FC #ECE2FE

Accessibility & contrast

On white

3.17
#A876F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#A876F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A876F9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A876F9#FFFFFF#000000##000000
##A876F91.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4391FD
Deuteranopia (green-blind)
#528FF6
Tritanopia (blue-blind)
#9790AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a876f9;
/* rgb */ color: rgb(168, 118, 249);
/* oklch */ color: oklch(67.4% 0.189 298.8);
Tailwind
colors: {
  custom: {
    50: '#c69ffc',
    500: '#a876f9',
    950: '#000000',
  },
}
SCSS
$custom: #a876f9;
$custom-light: #c69ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#a876f9",
  "rgb": {
    "r": 168,
    "g": 118,
    "b": 249
  },
  "hsl": {
    "h": 262.901,
    "s": 91.608,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67441,
    "c": 0.18933,
    "h": 298.8
  },
  "luminance": 0.28121
}

Semantic roles & 50–950 ramp

primary
#A876F9
secondary
#E9F6D5
accent
#E6008E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A876F9

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

Preview Lab → · Contrast checker → · Palette generator →

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