#A77AF5#A77AF5

#A77AF5 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.178 H 298.4°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A77AF5
RGBrgb(167, 122, 245)
HSLhsl(262, 86%, 72%)
HSVhsv(262, 50%, 96%)
CMYKcmyk(31.8%, 50.2%, 0%, 3.9%)
CIE-LABlab(60.54, 42.81, -55.62)
CIE-LCHlch(60.54, 70.19, 307.59°)
OKLaboklab(67.75% 0.0848 -0.1569)
OKLCHoklch(67.75% 0.178 298.4)
XYZxyz(39.3733, 28.7267, 89.8389)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77AF5 #C8F57A
analogous
#7A8BF5 #A77AF5 #E47AF5
triadic
#A77AF5 #F5A77A #7AF5A7
tetradic
#A77AF5 #F57A8B #C8F57A #7AF5E4
square
#A77AF5 #F57A8B #C8F57A #7AF5E4
split-complementary
#A77AF5 #F5E47A #8BF57A
monochromatic
#5E11E3 #8141F1 #A77AF5 #CDB3F9 #ECE3FD

Accessibility & contrast

On white

3.11
#A77AF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#A77AF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77AF5
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77AF5#FFFFFF#000000##000000
##A77AF51.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E92F9
Deuteranopia (green-blind)
#5A91F2
Tritanopia (blue-blind)
#9692AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a77af5;
/* rgb */ color: rgb(167, 122, 245);
/* oklch */ color: oklch(67.7% 0.178 298.4);
Tailwind
colors: {
  custom: {
    50: '#c4a1f9',
    500: '#a77af5',
    950: '#000000',
  },
}
SCSS
$custom: #a77af5;
$custom-light: #c4a1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a77af5",
  "rgb": {
    "r": 167,
    "g": 122,
    "b": 245
  },
  "hsl": {
    "h": 261.951,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67749,
    "c": 0.17834,
    "h": 298.4
  },
  "luminance": 0.28727
}

Semantic roles & 50–950 ramp

primary
#A77AF5
secondary
#EAF5D6
accent
#E30391
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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