#A76FEB#A76FEB

#A76FEB is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.4% C 0.183 H 302.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A76FEB
RGBrgb(167, 111, 235)
HSLhsl(267, 76%, 68%)
HSVhsv(267, 53%, 92%)
CMYKcmyk(28.9%, 52.8%, 0%, 7.8%)
CIE-LABlab(57.64, 46.40, -54.70)
CIE-LCHlch(57.64, 71.72, 310.31°)
OKLaboklab(65.42% 0.0982 -0.1541)
OKLCHoklch(65.42% 0.183 302.5)
XYZxyz(36.6128, 25.5825, 81.5902)
Luminance0.2558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A76FEB #B3EB6F
analogous
#6F75EB #A76FEB #E56FEB
triadic
#A76FEB #EBA76F #6FEBA7
tetradic
#A76FEB #EB6F75 #B3EB6F #6FEBE5
square
#A76FEB #EB6F75 #B3EB6F #6FEBE5
split-complementary
#A76FEB #EBE56F #75EB6F
monochromatic
#681BC4 #8639E4 #A76FEB #C8A5F2 #E9DAFA

Accessibility & contrast

On white

3.43
#A76FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#A76FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A76FEB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A76FEB#FFFFFF#000000##000000
##A76FEB1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4389EF
Deuteranopia (green-blind)
#548AE8
Tritanopia (blue-blind)
#9A86A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a76feb;
/* rgb */ color: rgb(167, 111, 235);
/* oklch */ color: oklch(65.4% 0.183 302.5);
Tailwind
colors: {
  custom: {
    50: '#c49af2',
    500: '#a76feb',
    950: '#000000',
  },
}
SCSS
$custom: #a76feb;
$custom-light: #c49af2;
$custom-dark: #000000;
JSON
{
  "hex": "#a76feb",
  "rgb": {
    "r": 167,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 267.097,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6542,
    "c": 0.18276,
    "h": 302.5
  },
  "luminance": 0.25583
}

Semantic roles & 50–950 ramp

primary
#A76FEB
secondary
#DDEEC8
accent
#D80E7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A76FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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