#A77DEC#A77DEC

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

Color values

HEX#A77DEC
RGBrgb(167, 125, 236)
HSLhsl(263, 74%, 71%)
HSVhsv(263, 47%, 93%)
CMYKcmyk(29.2%, 47%, 0%, 7.5%)
CIE-LABlab(60.73, 38.93, -50.34)
CIE-LCHlch(60.73, 63.64, 307.72°)
OKLaboklab(67.74% 0.0801 -0.1414)
OKLCHoklch(67.74% 0.163 299.5)
XYZxyz(38.4067, 28.9386, 82.9029)
Luminance0.2894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77DEC #C2EC7D
analogous
#7D8AEC #A77DEC #DF7DEC
triadic
#A77DEC #ECA77D #7DECA7
tetradic
#A77DEC #EC7D8A #C2EC7D #7DECDF
square
#A77DEC #EC7D8A #C2EC7D #7DECDF
split-complementary
#A77DEC #ECDF7D #8AEC7D
monochromatic
#621ED0 #8348E4 #A77DEC #CBB2F4 #EDE4FB

Accessibility & contrast

On white

3.09
#A77DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#A77DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77DEC
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77DEC#FFFFFF#000000##000000
##A77DEC1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#9991A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a77dec;
/* rgb */ color: rgb(167, 125, 236);
/* oklch */ color: oklch(67.7% 0.163 299.5);
Tailwind
colors: {
  custom: {
    50: '#c4a3f2',
    500: '#a77dec',
    950: '#000000',
  },
}
SCSS
$custom: #a77dec;
$custom-light: #c4a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a77dec",
  "rgb": {
    "r": 167,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 262.703,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67735,
    "c": 0.16253,
    "h": 299.5
  },
  "luminance": 0.28939
}

Semantic roles & 50–950 ramp

primary
#A77DEC
secondary
#E6F1D3
accent
#D70F8B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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