#A77BFA#A77BFA

#A77BFA is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.183 H 297.3°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A77BFA
RGBrgb(167, 123, 250)
HSLhsl(261, 93%, 73%)
HSVhsv(261, 51%, 98%)
CMYKcmyk(33.2%, 50.8%, 0%, 2%)
CIE-LABlab(61.03, 43.51, -57.60)
CIE-LCHlch(61.03, 72.18, 307.07°)
OKLaboklab(68.2% 0.084 -0.1627)
OKLCHoklch(68.2% 0.183 297.3)
XYZxyz(40.2704, 29.2830, 93.9545)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77BFA #CEFA7B
analogous
#7B8EFA #A77BFA #E67BFA
triadic
#A77BFA #FAA77B #7BFAA7
tetradic
#A77BFA #FA7B8E #CEFA7B #7BFAE6
square
#A77BFA #FA7B8E #CEFA7B #7BFAE6
split-complementary
#A77BFA #FAE67B #8EFA7B
monochromatic
#5A09F1 #8040F8 #A77BFA #CEB6FC #EBE2FE

Accessibility & contrast

On white

3.06
#A77BFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A77BFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77BFA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77BFA#FFFFFF#000000##000000
##A77BFA1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C94FE
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#9594AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a77bfa;
/* rgb */ color: rgb(167, 123, 250);
/* oklch */ color: oklch(68.2% 0.183 297.3);
Tailwind
colors: {
  custom: {
    50: '#c5a2fc',
    500: '#a77bfa',
    950: '#000000',
  },
}
SCSS
$custom: #a77bfa;
$custom-light: #c5a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a77bfa",
  "rgb": {
    "r": 167,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 260.787,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68202,
    "c": 0.18305,
    "h": 297.3
  },
  "luminance": 0.29284
}

Semantic roles & 50–950 ramp

primary
#A77BFA
secondary
#EBF6D5
accent
#E60096
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A77BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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