#A77BEC#A77BEC

#A77BEC is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.4% C 0.166 H 300.0°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A77BEC
RGBrgb(167, 123, 236)
HSLhsl(263, 75%, 70%)
HSVhsv(263, 48%, 93%)
CMYKcmyk(29.2%, 47.9%, 0%, 7.5%)
CIE-LABlab(60.28, 40.05, -51.05)
CIE-LCHlch(60.28, 64.88, 308.11°)
OKLaboklab(67.4% 0.0827 -0.1435)
OKLCHoklch(67.4% 0.166 300)
XYZxyz(38.1561, 28.4373, 82.8194)
Luminance0.2844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77BEC #C0EC7B
analogous
#7B87EC #A77BEC #DF7BEC
triadic
#A77BEC #ECA77B #7BECA7
tetradic
#A77BEC #EC7B87 #C0EC7B #7BECDF
square
#A77BEC #EC7B87 #C0EC7B #7BECDF
split-complementary
#A77BEC #ECDF7B #87EC7B
monochromatic
#631ECF #8346E4 #A77BEC #CBB0F4 #EDE4FB

Accessibility & contrast

On white

3.14
#A77BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#A77BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77BEC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77BEC#FFFFFF#000000##000000
##A77BEC1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#9990A8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a77bec;
/* rgb */ color: rgb(167, 123, 236);
/* oklch */ color: oklch(67.4% 0.166 300.0);
Tailwind
colors: {
  custom: {
    50: '#c4a2f3',
    500: '#a77bec',
    950: '#000000',
  },
}
SCSS
$custom: #a77bec;
$custom-light: #c4a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a77bec",
  "rgb": {
    "r": 167,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 263.363,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67402,
    "c": 0.16562,
    "h": 300
  },
  "luminance": 0.28438
}

Semantic roles & 50–950 ramp

primary
#A77BEC
secondary
#E5F1D2
accent
#D70F89
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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