#A771EA#A771EA

#A771EA is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.7% C 0.179 H 302.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A771EA
RGBrgb(167, 113, 234)
HSLhsl(267, 74%, 68%)
HSVhsv(267, 52%, 92%)
CMYKcmyk(28.6%, 51.7%, 0%, 8.2%)
CIE-LABlab(58.01, 45.07, -53.55)
CIE-LCHlch(58.01, 70.00, 310.08°)
OKLaboklab(65.67% 0.0956 -0.1508)
OKLCHoklch(65.67% 0.179 302.4)
XYZxyz(36.6894, 25.9662, 80.9050)
Luminance0.2597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A771EA #B4EA71
analogous
#7177EA #A771EA #E471EA
triadic
#A771EA #EAA771 #71EAA7
tetradic
#A771EA #EA7177 #B4EA71 #71EAE4
square
#A771EA #EA7177 #B4EA71 #71EAE4
split-complementary
#A771EA #EAE471 #77EA71
monochromatic
#671DC4 #863CE2 #A771EA #C8A6F2 #E9DCFA

Accessibility & contrast

On white

3.39
#A771EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#A771EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A771EA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A771EA#FFFFFF#000000##000000
##A771EA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#488AEE
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#9A88A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a771ea;
/* rgb */ color: rgb(167, 113, 234);
/* oklch */ color: oklch(65.7% 0.179 302.4);
Tailwind
colors: {
  custom: {
    50: '#c49bf1',
    500: '#a771ea',
    950: '#000000',
  },
}
SCSS
$custom: #a771ea;
$custom-light: #c49bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a771ea",
  "rgb": {
    "r": 167,
    "g": 113,
    "b": 234
  },
  "hsl": {
    "h": 266.777,
    "s": 74.233,
    "l": 68.039
  },
  "oklch": {
    "l": 0.65673,
    "c": 0.17853,
    "h": 302.4
  },
  "luminance": 0.25966
}

Semantic roles & 50–950 ramp

primary
#A771EA
secondary
#DDEEC9
accent
#D60F7D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A771EA

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

Preview Lab → · Contrast checker → · Palette generator →

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