#A77EF2#A77EF2

#A77EF2 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.2% C 0.169 H 298.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A77EF2
RGBrgb(167, 126, 242)
HSLhsl(261, 82%, 72%)
HSVhsv(261, 48%, 95%)
CMYKcmyk(31%, 47.9%, 0%, 5.1%)
CIE-LABlab(61.26, 39.85, -52.81)
CIE-LCHlch(61.26, 66.16, 307.04°)
OKLaboklab(68.24% 0.0794 -0.1487)
OKLCHoklch(68.24% 0.169 298.1)
XYZxyz(39.4203, 29.5476, 87.6136)
Luminance0.2955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77EF2 #C9F27E
analogous
#7E8FF2 #A77EF2 #E17EF2
triadic
#A77EF2 #F2A77E #7EF2A7
tetradic
#A77EF2 #F27E8F #C9F27E #7EF2E1
square
#A77EF2 #F27E8F #C9F27E #7EF2E1
split-complementary
#A77EF2 #F2E17E #8FF27E
monochromatic
#5D16DF #8146EC #A77EF2 #CDB6F8 #ECE3FC

Accessibility & contrast

On white

3.04
#A77EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#A77EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77EF2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77EF2#FFFFFF#000000##000000
##A77EF21.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#6193EF
Tritanopia (blue-blind)
#9794AD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a77ef2;
/* rgb */ color: rgb(167, 126, 242);
/* oklch */ color: oklch(68.2% 0.169 298.1);
Tailwind
colors: {
  custom: {
    50: '#c4a4f7',
    500: '#a77ef2',
    950: '#000000',
  },
}
SCSS
$custom: #a77ef2;
$custom-light: #c4a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a77ef2",
  "rgb": {
    "r": 167,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 261.207,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68236,
    "c": 0.16855,
    "h": 298.1
  },
  "luminance": 0.29548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A77EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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