#A77AFB#A77AFB

#A77AFB is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.186 H 297.3°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A77AFB
RGBrgb(167, 122, 251)
HSLhsl(261, 94%, 73%)
HSVhsv(261, 51%, 98%)
CMYKcmyk(33.5%, 51.4%, 0%, 1.6%)
CIE-LABlab(60.87, 44.31, -58.40)
CIE-LCHlch(60.87, 73.31, 307.19°)
OKLaboklab(68.1% 0.0853 -0.165)
OKLCHoklch(68.1% 0.186 297.3)
XYZxyz(40.3042, 29.0991, 94.7413)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77AFB #CEFB7A
analogous
#7A8DFB #A77AFB #E77AFB
triadic
#A77AFB #FBA77A #7AFBA7
tetradic
#A77AFB #FB7A8D #CEFB7A #7AFBE7
square
#A77AFB #FB7A8D #CEFB7A #7AFBE7
split-complementary
#A77AFB #FBE77A #8DFB7A
monochromatic
#5A07F3 #803FF9 #A77AFB #CEB5FD #EBE1FE

Accessibility & contrast

On white

3.08
#A77AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#A77AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77AFB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77AFB#FFFFFF#000000##000000
##A77AFB1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4993FF
Deuteranopia (green-blind)
#5491F8
Tritanopia (blue-blind)
#9493AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a77afb;
/* rgb */ color: rgb(167, 122, 251);
/* oklch */ color: oklch(68.1% 0.186 297.3);
Tailwind
colors: {
  custom: {
    50: '#c5a1fd',
    500: '#a77afb',
    950: '#000000',
  },
}
SCSS
$custom: #a77afb;
$custom-light: #c5a1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a77afb",
  "rgb": {
    "r": 167,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 260.93,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.681,
    "c": 0.18575,
    "h": 297.3
  },
  "luminance": 0.291
}

Semantic roles & 50–950 ramp

primary
#A77AFB
secondary
#EBF6D5
accent
#E60095
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A77AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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