#A77AFA#A77AFA

#A77AFA is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.185 H 297.5°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A77AFA
RGBrgb(167, 122, 250)
HSLhsl(261, 93%, 73%)
HSVhsv(261, 51%, 98%)
CMYKcmyk(33.2%, 51.2%, 0%, 2%)
CIE-LABlab(60.81, 44.06, -57.94)
CIE-LCHlch(60.81, 72.79, 307.25°)
OKLaboklab(68.04% 0.0852 -0.1637)
OKLCHoklch(68.04% 0.185 297.5)
XYZxyz(40.1469, 29.0362, 93.9133)
Luminance0.2904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77AFA #CDFA7A
analogous
#7A8DFA #A77AFA #E77AFA
triadic
#A77AFA #FAA77A #7AFAA7
tetradic
#A77AFA #FA7A8D #CDFA7A #7AFAE7
square
#A77AFA #FA7A8D #CDFA7A #7AFAE7
split-complementary
#A77AFA #FAE77A #8DFA7A
monochromatic
#5A09F1 #803FF8 #A77AFA #CEB5FC #EBE2FE

Accessibility & contrast

On white

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

On black

6.81
#A77AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77AFA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77AFA#FFFFFF#000000##000000
##A77AFA1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FE
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#9593AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a77afa;
/* rgb */ color: rgb(167, 122, 250);
/* oklch */ color: oklch(68.0% 0.185 297.5);
Tailwind
colors: {
  custom: {
    50: '#c5a1fc',
    500: '#a77afa',
    950: '#000000',
  },
}
SCSS
$custom: #a77afa;
$custom-light: #c5a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a77afa",
  "rgb": {
    "r": 167,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 261.094,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68041,
    "c": 0.18452,
    "h": 297.5
  },
  "luminance": 0.29037
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A77AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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