#A77BF7#A77BF7

#A77BF7 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.179 H 297.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A77BF7
RGBrgb(167, 123, 247)
HSLhsl(261, 89%, 73%)
HSVhsv(261, 50%, 97%)
CMYKcmyk(32.4%, 50.2%, 0%, 3.1%)
CIE-LABlab(60.87, 42.76, -56.20)
CIE-LCHlch(60.87, 70.62, 307.26°)
OKLaboklab(68.03% 0.0837 -0.1586)
OKLCHoklch(68.03% 0.179 297.8)
XYZxyz(39.8037, 29.0964, 91.4968)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77BF7 #CBF77B
analogous
#7B8DF7 #A77BF7 #E57BF7
triadic
#A77BF7 #F7A77B #7BF7A7
tetradic
#A77BF7 #F77B8D #CBF77B #7BF7E5
square
#A77BF7 #F77B8D #CBF77B #7BF7E5
split-complementary
#A77BF7 #F7E57B #8DF77B
monochromatic
#5C0EE9 #8141F4 #A77BF7 #CDB5FA #ECE2FD

Accessibility & contrast

On white

3.08
#A77BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#A77BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77BF7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77BF7#FFFFFF#000000##000000
##A77BF71.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#5992F4
Tritanopia (blue-blind)
#9693AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a77bf7;
/* rgb */ color: rgb(167, 123, 247);
/* oklch */ color: oklch(68.0% 0.179 297.8);
Tailwind
colors: {
  custom: {
    50: '#c5a2fa',
    500: '#a77bf7',
    950: '#000000',
  },
}
SCSS
$custom: #a77bf7;
$custom-light: #c5a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a77bf7",
  "rgb": {
    "r": 167,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 261.29,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68027,
    "c": 0.17933,
    "h": 297.8
  },
  "luminance": 0.29097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A77BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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