#A77CEB#A77CEB

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

Color values

HEX#A77CEB
RGBrgb(167, 124, 235)
HSLhsl(263, 74%, 70%)
HSVhsv(263, 47%, 92%)
CMYKcmyk(28.9%, 47.2%, 0%, 7.8%)
CIE-LABlab(60.45, 39.24, -50.22)
CIE-LCHlch(60.45, 63.73, 308.01°)
OKLaboklab(67.51% 0.0813 -0.1411)
OKLCHoklch(67.51% 0.163 299.9)
XYZxyz(38.1359, 28.6287, 82.0979)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77CEB #C0EB7C
analogous
#7C88EB #A77CEB #DE7CEB
triadic
#A77CEB #EBA77C #7CEBA7
tetradic
#A77CEB #EB7C88 #C0EB7C #7CEBDE
square
#A77CEB #EB7C88 #C0EB7C #7CEBDE
split-complementary
#A77CEB #EBDE7C #88EB7C
monochromatic
#631FCD #8347E3 #A77CEB #CBB1F3 #EDE4FB

Accessibility & contrast

On white

3.12
#A77CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#A77CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77CEB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77CEB#FFFFFF#000000##000000
##A77CEB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#6391E8
Tritanopia (blue-blind)
#9A90A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a77ceb;
/* rgb */ color: rgb(167, 124, 235);
/* oklch */ color: oklch(67.5% 0.163 299.9);
Tailwind
colors: {
  custom: {
    50: '#c4a3f2',
    500: '#a77ceb',
    950: '#000000',
  },
}
SCSS
$custom: #a77ceb;
$custom-light: #c4a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a77ceb",
  "rgb": {
    "r": 167,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 263.243,
    "s": 73.51,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67513,
    "c": 0.16282,
    "h": 299.9
  },
  "luminance": 0.28629
}

Semantic roles & 50–950 ramp

primary
#A77CEB
secondary
#E5F1D2
accent
#D61089
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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