#A77FEA#A77FEA

#A77FEA is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.0% C 0.157 H 299.5°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A77FEA
RGBrgb(167, 127, 234)
HSLhsl(262, 72%, 71%)
HSVhsv(262, 46%, 92%)
CMYKcmyk(28.6%, 45.7%, 0%, 8.2%)
CIE-LABlab(61.08, 37.32, -48.68)
CIE-LCHlch(61.08, 61.34, 307.48°)
OKLaboklab(67.96% 0.0772 -0.1366)
OKLCHoklch(67.96% 0.157 299.5)
XYZxyz(38.3735, 29.3345, 81.4664)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77FEA #C2EA7F
analogous
#7F8CEA #A77FEA #DC7FEA
triadic
#A77FEA #EAA77F #7FEAA7
tetradic
#A77FEA #EA7F8C #C2EA7F #7FEADC
square
#A77FEA #EA7F8C #C2EA7F #7FEADC
split-complementary
#A77FEA #EADC7F #8CEA7F
monochromatic
#6222CD #834AE1 #A77FEA #CBB4F3 #EDE5FB

Accessibility & contrast

On white

3.06
#A77FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#A77FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77FEA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77FEA#FFFFFF#000000##000000
##A77FEA1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EE
Deuteranopia (green-blind)
#6893E7
Tritanopia (blue-blind)
#9A92A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a77fea;
/* rgb */ color: rgb(167, 127, 234);
/* oklch */ color: oklch(68.0% 0.157 299.5);
Tailwind
colors: {
  custom: {
    50: '#c4a5f1',
    500: '#a77fea',
    950: '#000000',
  },
}
SCSS
$custom: #a77fea;
$custom-light: #c4a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a77fea",
  "rgb": {
    "r": 167,
    "g": 127,
    "b": 234
  },
  "hsl": {
    "h": 262.43,
    "s": 71.812,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67963,
    "c": 0.15689,
    "h": 299.5
  },
  "luminance": 0.29335
}

Semantic roles & 50–950 ramp

primary
#A77FEA
secondary
#E6F1D4
accent
#D4128B
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A77FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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