#A77BEE#A77BEE

#A77BEE is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.5% C 0.168 H 299.5°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A77BEE
RGBrgb(167, 123, 238)
HSLhsl(263, 77%, 71%)
HSVhsv(263, 48%, 93%)
CMYKcmyk(29.8%, 48.3%, 0%, 6.7%)
CIE-LABlab(60.39, 40.53, -51.99)
CIE-LCHlch(60.39, 65.92, 307.94°)
OKLaboklab(67.51% 0.0829 -0.1463)
OKLCHoklch(67.51% 0.168 299.5)
XYZxyz(38.4483, 28.5542, 84.3582)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77BEE #C2EE7B
analogous
#7B88EE #A77BEE #E17BEE
triadic
#A77BEE #EEA77B #7BEEA7
tetradic
#A77BEE #EE7B88 #C2EE7B #7BEEE1
square
#A77BEE #EE7B88 #C2EE7B #7BEEE1
split-complementary
#A77BEE #EEE17B #88EE7B
monochromatic
#621BD3 #8345E7 #A77BEE #CBB1F5 #EDE4FC

Accessibility & contrast

On white

3.13
#A77BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A77BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77BEE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77BEE#FFFFFF#000000##000000
##A77BEE1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F2
Deuteranopia (green-blind)
#6091EB
Tritanopia (blue-blind)
#9990A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a77bee;
/* rgb */ color: rgb(167, 123, 238);
/* oklch */ color: oklch(67.5% 0.168 299.5);
Tailwind
colors: {
  custom: {
    50: '#c4a2f4',
    500: '#a77bee',
    950: '#000000',
  },
}
SCSS
$custom: #a77bee;
$custom-light: #c4a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a77bee",
  "rgb": {
    "r": 167,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 262.957,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67514,
    "c": 0.16813,
    "h": 299.5
  },
  "luminance": 0.28554
}

Semantic roles & 50–950 ramp

primary
#A77BEE
secondary
#E6F2D3
accent
#D90C8B
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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