#A77ECE#A77ECE

#A77ECE is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.4% C 0.123 H 306.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A77ECE
RGBrgb(167, 126, 206)
HSLhsl(271, 45%, 65%)
HSVhsv(271, 39%, 81%)
CMYKcmyk(18.9%, 38.8%, 0%, 19.2%)
CIE-LABlab(59.52, 31.27, -35.46)
CIE-LCHlch(59.52, 47.28, 311.41°)
OKLaboklab(66.36% 0.0738 -0.0983)
OKLCHoklch(66.36% 0.123 306.9)
XYZxyz(34.5356, 27.5937, 61.8873)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A77ECE #A5CE7E
analogous
#7F7ECE #A77ECE #CE7ECD
triadic
#A77ECE #CEA77E #7ECEA7
tetradic
#A77ECE #CE7F7E #A5CE7E #7ECDCE
square
#A77ECE #CE7F7E #A5CE7E #7ECDCE
split-complementary
#A77ECE #CDCE7E #7ECE7F
monochromatic
#6A3A98 #8952BD #A77ECE #C5AADF #E4D7F0

Accessibility & contrast

On white

3.22
#A77ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A77ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A77ECE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A77ECE#FFFFFF#000000##000000
##A77ECE1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED1
Deuteranopia (green-blind)
#7690CC
Tritanopia (blue-blind)
#A18A9C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a77ece;
/* rgb */ color: rgb(167, 126, 206);
/* oklch */ color: oklch(66.4% 0.123 306.9);
Tailwind
colors: {
  custom: {
    50: '#c2a4dd',
    500: '#a77ece',
    950: '#000000',
  },
}
SCSS
$custom: #a77ece;
$custom-light: #c2a4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a77ece",
  "rgb": {
    "r": 167,
    "g": 126,
    "b": 206
  },
  "hsl": {
    "h": 270.75,
    "s": 44.944,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66357,
    "c": 0.12292,
    "h": 306.9
  },
  "luminance": 0.27593
}

Semantic roles & 50–950 ramp

primary
#A77ECE
secondary
#D4E1C6
accent
#B82D71
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#120F15
muted
#817F83

Preview Lab

Preview with #A77ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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