#A77CEC#A77CEC

#A77CEC is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.164 H 299.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A77CEC
RGBrgb(167, 124, 236)
HSLhsl(263, 75%, 71%)
HSVhsv(263, 47%, 93%)
CMYKcmyk(29.2%, 47.5%, 0%, 7.5%)
CIE-LABlab(60.50, 39.49, -50.69)
CIE-LCHlch(60.50, 64.26, 307.92°)
OKLaboklab(67.57% 0.0814 -0.1425)
OKLCHoklch(67.57% 0.164 299.7)
XYZxyz(38.2808, 28.6867, 82.8609)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77CEC #C1EC7C
analogous
#7C89EC #A77CEC #DF7CEC
triadic
#A77CEC #ECA77C #7CECA7
tetradic
#A77CEC #EC7C89 #C1EC7C #7CECDF
square
#A77CEC #EC7C89 #C1EC7C #7CECDF
split-complementary
#A77CEC #ECDF7C #89EC7C
monochromatic
#621ED0 #8347E4 #A77CEC #CBB1F4 #EDE4FB

Accessibility & contrast

On white

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

On black

6.74
#A77CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77CEC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77CEC#FFFFFF#000000##000000
##A77CEC1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#9991A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a77cec;
/* rgb */ color: rgb(167, 124, 236);
/* oklch */ color: oklch(67.6% 0.164 299.7);
Tailwind
colors: {
  custom: {
    50: '#c4a3f2',
    500: '#a77cec',
    950: '#000000',
  },
}
SCSS
$custom: #a77cec;
$custom-light: #c4a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a77cec",
  "rgb": {
    "r": 167,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 263.036,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67568,
    "c": 0.16407,
    "h": 299.7
  },
  "luminance": 0.28687
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A77CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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