#A77EF3#A77EF3

#A77EF3 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.3% C 0.170 H 297.9°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A77EF3
RGBrgb(167, 126, 243)
HSLhsl(261, 83%, 72%)
HSVhsv(261, 48%, 95%)
CMYKcmyk(31.3%, 48.1%, 0%, 4.7%)
CIE-LABlab(61.31, 40.10, -53.28)
CIE-LCHlch(61.31, 66.68, 306.96°)
OKLaboklab(68.29% 0.0795 -0.15)
OKLCHoklch(68.29% 0.17 297.9)
XYZxyz(39.5709, 29.6078, 88.4067)
Luminance0.2961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77EF3 #CAF37E
analogous
#7E8FF3 #A77EF3 #E27EF3
triadic
#A77EF3 #F3A77E #7EF3A7
tetradic
#A77EF3 #F37E8F #CAF37E #7EF3E2
square
#A77EF3 #F37E8F #CAF37E #7EF3E2
split-complementary
#A77EF3 #F3E27E #8FF37E
monochromatic
#5D15E2 #8146EE #A77EF3 #CDB6F8 #ECE3FC

Accessibility & contrast

On white

3.03
#A77EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#A77EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77EF3
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77EF3#FFFFFF#000000##000000
##A77EF31.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F7
Deuteranopia (green-blind)
#6093F0
Tritanopia (blue-blind)
#9794AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a77ef3;
/* rgb */ color: rgb(167, 126, 243);
/* oklch */ color: oklch(68.3% 0.170 297.9);
Tailwind
colors: {
  custom: {
    50: '#c4a4f7',
    500: '#a77ef3',
    950: '#000000',
  },
}
SCSS
$custom: #a77ef3;
$custom-light: #c4a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a77ef3",
  "rgb": {
    "r": 167,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 261.026,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68292,
    "c": 0.16981,
    "h": 297.9
  },
  "luminance": 0.29608
}

Semantic roles & 50–950 ramp

primary
#A77EF3
secondary
#EAF4D7
accent
#DF0693
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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