#A77AFC#A77AFC

#A77AFC is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.2% C 0.187 H 297.2°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A77AFC
RGBrgb(167, 122, 252)
HSLhsl(261, 96%, 73%)
HSVhsv(261, 52%, 99%)
CMYKcmyk(33.7%, 51.6%, 0%, 1.2%)
CIE-LABlab(60.92, 44.56, -58.87)
CIE-LCHlch(60.92, 73.83, 307.13°)
OKLaboklab(68.16% 0.0853 -0.1664)
OKLCHoklch(68.16% 0.187 297.2)
XYZxyz(40.4622, 29.1623, 95.5737)
Luminance0.2916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77AFC #CFFC7A
analogous
#7A8EFC #A77AFC #E87AFC
triadic
#A77AFC #FCA77A #7AFCA7
tetradic
#A77AFC #FC7A8E #CFFC7A #7AFCE8
square
#A77AFC #FC7A8E #CFFC7A #7AFCE8
split-complementary
#A77AFC #FCE87A #8EFC7A
monochromatic
#5906F6 #7F3EFB #A77AFC #CFB6FD #EBE1FE

Accessibility & contrast

On white

3.07
#A77AFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#A77AFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77AFC
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77AFC#FFFFFF#000000##000000
##A77AFC1.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#9494B0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a77afc;
/* rgb */ color: rgb(167, 122, 252);
/* oklch */ color: oklch(68.2% 0.187 297.2);
Tailwind
colors: {
  custom: {
    50: '#c5a1fe',
    500: '#a77afc',
    950: '#000000',
  },
}
SCSS
$custom: #a77afc;
$custom-light: #c5a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a77afc",
  "rgb": {
    "r": 167,
    "g": 122,
    "b": 252
  },
  "hsl": {
    "h": 260.769,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68159,
    "c": 0.18699,
    "h": 297.2
  },
  "luminance": 0.29163
}

Semantic roles & 50–950 ramp

primary
#A77AFC
secondary
#EBF7D4
accent
#E60096
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A77AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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