#A77ECA#A77ECA

#A77ECA is a light, moderate violet. Relative luminance 0.274; OKLCH L 66.2% C 0.118 H 308.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A77ECA
RGBrgb(167, 126, 202)
HSLhsl(272, 42%, 64%)
HSVhsv(272, 38%, 79%)
CMYKcmyk(17.3%, 37.6%, 0%, 20.8%)
CIE-LABlab(59.34, 30.37, -33.48)
CIE-LCHlch(59.34, 45.20, 312.21°)
OKLaboklab(66.17% 0.073 -0.0926)
OKLCHoklch(66.17% 0.118 308.2)
XYZxyz(34.0559, 27.4018, 59.3607)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77ECA #A1CA7E
analogous
#817ECA #A77ECA #CA7EC7
triadic
#A77ECA #CAA77E #7ECAA7
tetradic
#A77ECA #CA817E #A1CA7E #7EC7CA
square
#A77ECA #CA817E #A1CA7E #7EC7CA
split-complementary
#A77ECA #C7CA7E #7ECA81
monochromatic
#6A3C92 #8953B8 #A77ECA #C5A9DC #E2D5EE

Accessibility & contrast

On white

3.24
#A77ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A77ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77ECA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77ECA#FFFFFF#000000##000000
##A77ECA1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCD
Deuteranopia (green-blind)
#788FC8
Tritanopia (blue-blind)
#A2899B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a77eca;
/* rgb */ color: rgb(167, 126, 202);
/* oklch */ color: oklch(66.2% 0.118 308.2);
Tailwind
colors: {
  custom: {
    50: '#c2a4da',
    500: '#a77eca',
    950: '#000000',
  },
}
SCSS
$custom: #a77eca;
$custom-light: #c2a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#a77eca",
  "rgb": {
    "r": 167,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 272.368,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.11789,
    "h": 308.2
  },
  "luminance": 0.27401
}

Semantic roles & 50–950 ramp

primary
#A77ECA
secondary
#D1DFC5
accent
#B5316E
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#120F15
muted
#817F83

Preview Lab

Preview with #A77ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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