#A77BF5#A77BF5

#A77BF5 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.177 H 298.2°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A77BF5
RGBrgb(167, 123, 245)
HSLhsl(262, 86%, 72%)
HSVhsv(262, 50%, 96%)
CMYKcmyk(31.8%, 49.8%, 0%, 3.9%)
CIE-LABlab(60.76, 42.26, -55.27)
CIE-LCHlch(60.76, 69.58, 307.40°)
OKLaboklab(67.91% 0.0836 -0.1558)
OKLCHoklch(67.91% 0.177 298.2)
XYZxyz(39.4967, 28.9736, 89.8801)
Luminance0.2897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77BF5 #C9F57B
analogous
#7B8CF5 #A77BF5 #E47BF5
triadic
#A77BF5 #F5A77B #7BF5A7
tetradic
#A77BF5 #F57B8C #C9F57B #7BF5E4
square
#A77BF5 #F57B8C #C9F57B #7BF5E4
split-complementary
#A77BF5 #F5E47B #8CF57B
monochromatic
#5D11E4 #8142F1 #A77BF5 #CDB4F9 #ECE3FD

Accessibility & contrast

On white

3.09
#A77BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#A77BF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77BF5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77BF5#FFFFFF#000000##000000
##A77BF51.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#5B91F2
Tritanopia (blue-blind)
#9692AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a77bf5;
/* rgb */ color: rgb(167, 123, 245);
/* oklch */ color: oklch(67.9% 0.177 298.2);
Tailwind
colors: {
  custom: {
    50: '#c4a2f9',
    500: '#a77bf5',
    950: '#000000',
  },
}
SCSS
$custom: #a77bf5;
$custom-light: #c4a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a77bf5",
  "rgb": {
    "r": 167,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 261.639,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.67912,
    "c": 0.17684,
    "h": 298.2
  },
  "luminance": 0.28974
}

Semantic roles & 50–950 ramp

primary
#A77BF5
secondary
#EAF5D6
accent
#E20392
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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