#A77AFE#A77AFE

#A77AFE is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.3% C 0.189 H 296.8°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A77AFE
RGBrgb(167, 122, 254)
HSLhsl(260, 99%, 74%)
HSVhsv(260, 52%, 100%)
CMYKcmyk(34.3%, 52%, 0%, 0.4%)
CIE-LABlab(61.04, 45.06, -59.79)
CIE-LCHlch(61.04, 74.87, 307.01°)
OKLaboklab(68.28% 0.0855 -0.1691)
OKLCHoklch(68.28% 0.189 296.8)
XYZxyz(40.7808, 29.2897, 97.2516)
Luminance0.2929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77AFE #D1FE7A
analogous
#7A8FFE #A77AFE #E97AFE
triadic
#A77AFE #FEA77A #7AFEA7
tetradic
#A77AFE #FE7A8F #D1FE7A #7AFEE9
square
#A77AFE #FE7A8F #D1FE7A #7AFEE9
split-complementary
#A77AFE #FEE97A #8FFE7A
monochromatic
#5702FC #7F3DFE #A77AFE #CFB7FE #EBE1FF

Accessibility & contrast

On white

3.06
#A77AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A77AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77AFE
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77AFE#FFFFFF#000000##000000
##A77AFE1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#5292FB
Tritanopia (blue-blind)
#9394B1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a77afe;
/* rgb */ color: rgb(167, 122, 254);
/* oklch */ color: oklch(68.3% 0.189 296.8);
Tailwind
colors: {
  custom: {
    50: '#c5a1ff',
    500: '#a77afe',
    950: '#000000',
  },
}
SCSS
$custom: #a77afe;
$custom-light: #c5a1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a77afe",
  "rgb": {
    "r": 167,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 260.455,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68279,
    "c": 0.18945,
    "h": 296.8
  },
  "luminance": 0.2929
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A77AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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