#A77BEF#A77BEF

#A77BEF is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.169 H 299.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A77BEF
RGBrgb(167, 123, 239)
HSLhsl(263, 78%, 71%)
HSVhsv(263, 49%, 94%)
CMYKcmyk(30.1%, 48.5%, 0%, 6.3%)
CIE-LABlab(60.44, 40.78, -52.46)
CIE-LCHlch(60.44, 66.45, 307.86°)
OKLaboklab(67.57% 0.083 -0.1476)
OKLCHoklch(67.57% 0.169 299.3)
XYZxyz(38.5956, 28.6131, 85.1341)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77BEF #C3EF7B
analogous
#7B89EF #A77BEF #E17BEF
triadic
#A77BEF #EFA77B #7BEFA7
tetradic
#A77BEF #EF7B89 #C3EF7B #7BEFE1
square
#A77BEF #EF7B89 #C3EF7B #7BEFE1
split-complementary
#A77BEF #EFE17B #89EF7B
monochromatic
#611AD6 #8344E8 #A77BEF #CBB2F6 #EDE4FC

Accessibility & contrast

On white

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

On black

6.72
#A77BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77BEF
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77BEF#FFFFFF#000000##000000
##A77BEF1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#5F91EC
Tritanopia (blue-blind)
#9891AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a77bef;
/* rgb */ color: rgb(167, 123, 239);
/* oklch */ color: oklch(67.6% 0.169 299.3);
Tailwind
colors: {
  custom: {
    50: '#c4a2f5',
    500: '#a77bef',
    950: '#000000',
  },
}
SCSS
$custom: #a77bef;
$custom-light: #c4a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a77bef",
  "rgb": {
    "r": 167,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 262.759,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6757,
    "c": 0.16937,
    "h": 299.3
  },
  "luminance": 0.28613
}

Semantic roles & 50–950 ramp

primary
#A77BEF
secondary
#E7F2D3
accent
#DB0B8C
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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