#A77DEB#A77DEB

#A77DEB is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.161 H 299.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A77DEB
RGBrgb(167, 125, 235)
HSLhsl(263, 73%, 71%)
HSVhsv(263, 47%, 92%)
CMYKcmyk(28.9%, 46.8%, 0%, 7.8%)
CIE-LABlab(60.68, 38.69, -49.87)
CIE-LCHlch(60.68, 63.11, 307.80°)
OKLaboklab(67.68% 0.0799 -0.1401)
OKLCHoklch(67.68% 0.161 299.7)
XYZxyz(38.2619, 28.8806, 82.1399)
Luminance0.2888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77DEB #C1EB7D
analogous
#7D8AEB #A77DEB #DE7DEB
triadic
#A77DEB #EBA77D #7DEBA7
tetradic
#A77DEB #EB7D8A #C1EB7D #7DEBDE
square
#A77DEB #EB7D8A #C1EB7D #7DEBDE
split-complementary
#A77DEB #EBDE7D #8AEB7D
monochromatic
#6220CE #8348E3 #A77DEB #CBB2F3 #EDE4FB

Accessibility & contrast

On white

3.10
#A77DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#A77DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77DEB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77DEB#FFFFFF#000000##000000
##A77DEB1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#9A91A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a77deb;
/* rgb */ color: rgb(167, 125, 235);
/* oklch */ color: oklch(67.7% 0.161 299.7);
Tailwind
colors: {
  custom: {
    50: '#c4a3f2',
    500: '#a77deb',
    950: '#000000',
  },
}
SCSS
$custom: #a77deb;
$custom-light: #c4a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a77deb",
  "rgb": {
    "r": 167,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 262.909,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6768,
    "c": 0.16127,
    "h": 299.7
  },
  "luminance": 0.28881
}

Semantic roles & 50–950 ramp

primary
#A77DEB
secondary
#E5F1D3
accent
#D5108A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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