#A77EFE#A77EFE

#A77EFE is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.9% C 0.184 H 296.0°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A77EFE
RGBrgb(167, 126, 254)
HSLhsl(259, 98%, 75%)
HSVhsv(259, 50%, 100%)
CMYKcmyk(34.3%, 50.4%, 0%, 0.4%)
CIE-LABlab(61.91, 42.86, -58.40)
CIE-LCHlch(61.91, 72.44, 306.27°)
OKLaboklab(68.93% 0.0805 -0.165)
OKLCHoklch(68.93% 0.184 296)
XYZxyz(41.2821, 30.2923, 97.4187)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77EFE #D5FE7E
analogous
#7E95FE #A77EFE #E77EFE
triadic
#A77EFE #FEA77E #7EFEA7
tetradic
#A77EFE #FE7E95 #D5FE7E #7EFEE7
square
#A77EFE #FE7E95 #D5FE7E #7EFEE7
split-complementary
#A77EFE #FEE77E #95FE7E
monochromatic
#5405FD #7E41FE #A77EFE #D0BBFE #EAE1FF

Accessibility & contrast

On white

2.98
#A77EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#A77EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A77EFE
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77EFE#FFFFFF#000000##000000
##A77EFE1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E96FF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#9397B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a77efe;
/* rgb */ color: rgb(167, 126, 254);
/* oklch */ color: oklch(68.9% 0.184 296.0);
Tailwind
colors: {
  custom: {
    50: '#c5a4ff',
    500: '#a77efe',
    950: '#000000',
  },
}
SCSS
$custom: #a77efe;
$custom-light: #c5a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a77efe",
  "rgb": {
    "r": 167,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 259.219,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68925,
    "c": 0.1836,
    "h": 296
  },
  "luminance": 0.30293
}

Semantic roles & 50–950 ramp

primary
#A77EFE
secondary
#ECF7D4
accent
#E6009C
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A77EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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