#A77BF1#A77BF1

#A77BF1 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.172 H 299.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A77BF1
RGBrgb(167, 123, 241)
HSLhsl(262, 81%, 71%)
HSVhsv(262, 49%, 95%)
CMYKcmyk(30.7%, 49%, 0%, 5.5%)
CIE-LABlab(60.54, 41.27, -53.40)
CIE-LCHlch(60.54, 67.49, 307.70°)
OKLaboklab(67.68% 0.0832 -0.1504)
OKLCHoklch(67.68% 0.172 299)
XYZxyz(38.8927, 28.7320, 86.6988)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77BF1 #C5F17B
analogous
#7B8AF1 #A77BF1 #E27BF1
triadic
#A77BF1 #F1A77B #7BF1A7
tetradic
#A77BF1 #F17B8A #C5F17B #7BF1E2
square
#A77BF1 #F17B8A #C5F17B #7BF1E2
split-complementary
#A77BF1 #F1E27B #8AF17B
monochromatic
#6017DA #8244EB #A77BF1 #CCB2F7 #EDE3FC

Accessibility & contrast

On white

3.11
#A77BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#A77BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77BF1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77BF1#FFFFFF#000000##000000
##A77BF11.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F5
Deuteranopia (green-blind)
#5E91EE
Tritanopia (blue-blind)
#9891AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a77bf1;
/* rgb */ color: rgb(167, 123, 241);
/* oklch */ color: oklch(67.7% 0.172 299.0);
Tailwind
colors: {
  custom: {
    50: '#c4a2f6',
    500: '#a77bf1',
    950: '#000000',
  },
}
SCSS
$custom: #a77bf1;
$custom-light: #c4a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a77bf1",
  "rgb": {
    "r": 167,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 262.373,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67683,
    "c": 0.17187,
    "h": 299
  },
  "luminance": 0.28732
}

Semantic roles & 50–950 ramp

primary
#A77BF1
secondary
#E8F3D5
accent
#DD088E
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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