#A77EF6#A77EF6

#A77EF6 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.174 H 297.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A77EF6
RGBrgb(167, 126, 246)
HSLhsl(261, 87%, 73%)
HSVhsv(261, 49%, 96%)
CMYKcmyk(32.1%, 48.8%, 0%, 3.5%)
CIE-LABlab(61.47, 40.85, -54.69)
CIE-LCHlch(61.47, 68.26, 306.76°)
OKLaboklab(68.46% 0.0798 -0.1541)
OKLCHoklch(68.46% 0.174 297.4)
XYZxyz(40.0277, 29.7905, 90.8122)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77EF6 #CDF67E
analogous
#7E91F6 #A77EF6 #E37EF6
triadic
#A77EF6 #F6A77E #7EF6A7
tetradic
#A77EF6 #F67E91 #CDF67E #7EF6E3
square
#A77EF6 #F67E91 #CDF67E #7EF6E3
split-complementary
#A77EF6 #F6E37E #91F67E
monochromatic
#5A10E9 #8045F2 #A77EF6 #CEB7FA #EBE2FD

Accessibility & contrast

On white

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

On black

6.96
#A77EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77EF6
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77EF6#FFFFFF#000000##000000
##A77EF61.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FA
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#9695AF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a77ef6;
/* rgb */ color: rgb(167, 126, 246);
/* oklch */ color: oklch(68.5% 0.174 297.4);
Tailwind
colors: {
  custom: {
    50: '#c4a4fa',
    500: '#a77ef6',
    950: '#000000',
  },
}
SCSS
$custom: #a77ef6;
$custom-light: #c4a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a77ef6",
  "rgb": {
    "r": 167,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 260.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68462,
    "c": 0.17359,
    "h": 297.4
  },
  "luminance": 0.29791
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A77EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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