#A876F7#A876F7

#A876F7 is a light, vivid violet. Relative luminance 0.280; OKLCH L 67.3% C 0.187 H 299.2°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A876F7
RGBrgb(168, 118, 247)
HSLhsl(263, 89%, 72%)
HSVhsv(263, 52%, 97%)
CMYKcmyk(32%, 52.2%, 0%, 3.1%)
CIE-LABlab(59.89, 45.75, -57.76)
CIE-LCHlch(59.89, 73.69, 308.38°)
OKLaboklab(67.32% 0.0912 -0.1631)
OKLCHoklch(67.32% 0.187 299.2)
XYZxyz(39.4113, 27.9968, 91.3052)
Luminance0.2800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A876F7 #C5F776
analogous
#7685F7 #A876F7 #E976F7
triadic
#A876F7 #F7A876 #76F7A8
tetradic
#A876F7 #F77685 #C5F776 #76F7E9
square
#A876F7 #F77685 #C5F776 #76F7E9
split-complementary
#A876F7 #F7E976 #85F776
monochromatic
#610DE5 #833CF4 #A876F7 #CDB0FA #EDE2FD

Accessibility & contrast

On white

3.18
#A876F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#A876F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A876F7
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A876F7#FFFFFF#000000##000000
##A876F71.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FB
Deuteranopia (green-blind)
#548FF4
Tritanopia (blue-blind)
#978FAB
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a876f7;
/* rgb */ color: rgb(168, 118, 247);
/* oklch */ color: oklch(67.3% 0.187 299.2);
Tailwind
colors: {
  custom: {
    50: '#c59ffa',
    500: '#a876f7',
    950: '#000000',
  },
}
SCSS
$custom: #a876f7;
$custom-light: #c59ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#a876f7",
  "rgb": {
    "r": 168,
    "g": 118,
    "b": 247
  },
  "hsl": {
    "h": 263.256,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67322,
    "c": 0.1869,
    "h": 299.2
  },
  "luminance": 0.27997
}

Semantic roles & 50–950 ramp

primary
#A876F7
secondary
#E8F5D4
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A876F7

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

Preview Lab → · Contrast checker → · Palette generator →

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