#A771E9#A771E9

#A771E9 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.6% C 0.177 H 302.6°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A771E9
RGBrgb(167, 113, 233)
HSLhsl(267, 73%, 68%)
HSVhsv(267, 52%, 91%)
CMYKcmyk(28.3%, 51.5%, 0%, 8.6%)
CIE-LABlab(57.95, 44.83, -53.08)
CIE-LCHlch(57.95, 69.48, 310.18°)
OKLaboklab(65.61% 0.0955 -0.1494)
OKLCHoklch(65.61% 0.177 302.6)
XYZxyz(36.5461, 25.9089, 80.1506)
Luminance0.2591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771E9 #B3E971
analogous
#7177E9 #A771E9 #E371E9
triadic
#A771E9 #E9A771 #71E9A7
tetradic
#A771E9 #E97177 #B3E971 #71E9E3
square
#A771E9 #E97177 #B3E971 #71E9E3
split-complementary
#A771E9 #E9E371 #77E971
monochromatic
#681EC2 #863CE1 #A771E9 #C8A6F1 #E9DBF9

Accessibility & contrast

On white

3.40
#A771E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#A771E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771E9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771E9#FFFFFF#000000##000000
##A771E91.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#498AED
Deuteranopia (green-blind)
#588BE6
Tritanopia (blue-blind)
#9B87A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a771e9;
/* rgb */ color: rgb(167, 113, 233);
/* oklch */ color: oklch(65.6% 0.177 302.6);
Tailwind
colors: {
  custom: {
    50: '#c49bf0',
    500: '#a771e9',
    950: '#000000',
  },
}
SCSS
$custom: #a771e9;
$custom-light: #c49bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a771e9",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 267,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.65615,
    "c": 0.17734,
    "h": 302.6
  },
  "luminance": 0.25909
}

Semantic roles & 50–950 ramp

primary
#A771E9
secondary
#DDEDC8
accent
#D5107D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A771E9

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

Preview Lab → · Contrast checker → · Palette generator →

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