#A77EF5#A77EF5

#A77EF5 is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.4% C 0.172 H 297.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#A77EF5
RGBrgb(167, 126, 245)
HSLhsl(261, 86%, 73%)
HSVhsv(261, 49%, 96%)
CMYKcmyk(31.8%, 48.6%, 0%, 3.9%)
CIE-LABlab(61.42, 40.60, -54.22)
CIE-LCHlch(61.42, 67.73, 306.82°)
OKLaboklab(68.41% 0.0797 -0.1528)
OKLCHoklch(68.41% 0.172 297.6)
XYZxyz(39.8746, 29.7293, 90.0060)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77EF5 #CCF57E
analogous
#7E90F5 #A77EF5 #E27EF5
triadic
#A77EF5 #F5A77E #7EF5A7
tetradic
#A77EF5 #F57E90 #CCF57E #7EF5E2
square
#A77EF5 #F57E90 #CCF57E #7EF5E2
split-complementary
#A77EF5 #F5E27E #90F57E
monochromatic
#5B12E7 #8045F1 #A77EF5 #CEB7F9 #ECE3FD

Accessibility & contrast

On white

3.02
#A77EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#A77EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77EF5
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77EF5#FFFFFF#000000##000000
##A77EF51.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5595F9
Deuteranopia (green-blind)
#5F93F2
Tritanopia (blue-blind)
#9695AE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a77ef5;
/* rgb */ color: rgb(167, 126, 245);
/* oklch */ color: oklch(68.4% 0.172 297.6);
Tailwind
colors: {
  custom: {
    50: '#c4a4f9',
    500: '#a77ef5',
    950: '#000000',
  },
}
SCSS
$custom: #a77ef5;
$custom-light: #c4a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a77ef5",
  "rgb": {
    "r": 167,
    "g": 126,
    "b": 245
  },
  "hsl": {
    "h": 260.672,
    "s": 85.612,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68405,
    "c": 0.17232,
    "h": 297.6
  },
  "luminance": 0.2973
}

Semantic roles & 50–950 ramp

primary
#A77EF5
secondary
#EAF5D6
accent
#E20395
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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