#A77EC2#A77EC2

#A77EC2 is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.8% C 0.108 H 311.2°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A77EC2
RGBrgb(167, 126, 194)
HSLhsl(276, 36%, 63%)
HSVhsv(276, 35%, 76%)
CMYKcmyk(13.9%, 35.1%, 0%, 23.9%)
CIE-LABlab(59.00, 28.60, -29.48)
CIE-LCHlch(59.00, 41.07, 314.13°)
OKLaboklab(65.8% 0.0711 -0.0811)
OKLCHoklch(65.8% 0.108 311.2)
XYZxyz(33.1331, 27.0327, 54.5009)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77EC2 #99C27E
analogous
#857EC2 #A77EC2 #C27EBB
triadic
#A77EC2 #C2A77E #7EC2A7
tetradic
#A77EC2 #C2857E #99C27E #7EBBC2
square
#A77EC2 #C2857E #99C27E #7EBBC2
split-complementary
#A77EC2 #BBC27E #7EC285
monochromatic
#6A3F86 #8B54AE #A77EC2 #C3A8D6 #E0D1E9

Accessibility & contrast

On white

3.28
#A77EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#A77EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77EC2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77EC2#FFFFFF#000000##000000
##A77EC21.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#728CC5
Deuteranopia (green-blind)
#7B8FC0
Tritanopia (blue-blind)
#A48797
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a77ec2;
/* rgb */ color: rgb(167, 126, 194);
/* oklch */ color: oklch(65.8% 0.108 311.2);
Tailwind
colors: {
  custom: {
    50: '#c2a4d4',
    500: '#a77ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a77ec2;
$custom-light: #c2a4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a77ec2",
  "rgb": {
    "r": 167,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 276.176,
    "s": 35.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65797,
    "c": 0.1079,
    "h": 311.2
  },
  "luminance": 0.27032
}

Semantic roles & 50–950 ramp

primary
#A77EC2
secondary
#CBDAC2
accent
#AF3766
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#120F14
muted
#817F83

Preview Lab

Preview with #A77EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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