#A77BF6#A77BF6

#A77BF6 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.178 H 298.0°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A77BF6
RGBrgb(167, 123, 246)
HSLhsl(261, 87%, 72%)
HSVhsv(261, 50%, 96%)
CMYKcmyk(32.1%, 50%, 0%, 3.5%)
CIE-LABlab(60.81, 42.51, -55.74)
CIE-LCHlch(60.81, 70.10, 307.33°)
OKLaboklab(67.97% 0.0837 -0.1572)
OKLCHoklch(67.97% 0.178 298)
XYZxyz(39.6498, 29.0348, 90.6862)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77BF6 #CAF67B
analogous
#7B8DF6 #A77BF6 #E47BF6
triadic
#A77BF6 #F6A77B #7BF6A7
tetradic
#A77BF6 #F67B8D #CAF67B #7BF6E4
square
#A77BF6 #F67B8D #CAF67B #7BF6E4
split-complementary
#A77BF6 #F6E47B #8DF67B
monochromatic
#5D10E7 #8142F2 #A77BF6 #CDB4FA #ECE2FD

Accessibility & contrast

On white

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

On black

6.81
#A77BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77BF6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77BF6#FFFFFF#000000##000000
##A77BF61.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F93FA
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#9693AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a77bf6;
/* rgb */ color: rgb(167, 123, 246);
/* oklch */ color: oklch(68.0% 0.178 298.0);
Tailwind
colors: {
  custom: {
    50: '#c4a2fa',
    500: '#a77bf6',
    950: '#000000',
  },
}
SCSS
$custom: #a77bf6;
$custom-light: #c4a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a77bf6",
  "rgb": {
    "r": 167,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 261.463,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67969,
    "c": 0.17809,
    "h": 298
  },
  "luminance": 0.29035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A77BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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