#A877EA#A877EA

#A877EA is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.7% C 0.170 H 301.7°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A877EA
RGBrgb(168, 119, 234)
HSLhsl(266, 73%, 69%)
HSVhsv(266, 49%, 92%)
CMYKcmyk(28.2%, 49.1%, 0%, 8.2%)
CIE-LABlab(59.40, 42.04, -51.33)
CIE-LCHlch(59.40, 66.35, 309.31°)
OKLaboklab(66.73% 0.089 -0.1443)
OKLCHoklch(66.73% 0.17 301.7)
XYZxyz(37.5932, 27.4589, 81.1455)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877EA #B9EA77
analogous
#7780EA #A877EA #E177EA
triadic
#A877EA #EAA877 #77EAA8
tetradic
#A877EA #EA7780 #B9EA77 #77EAE1
square
#A877EA #EA7780 #B9EA77 #77EAE1
split-complementary
#A877EA #EAE177 #80EA77
monochromatic
#671FC8 #8642E2 #A877EA #CAACF2 #ECE1FA

Accessibility & contrast

On white

3.23
#A877EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#A877EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877EA
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877EA#FFFFFF#000000##000000
##A877EA1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEE
Deuteranopia (green-blind)
#5F8FE7
Tritanopia (blue-blind)
#9C8CA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a877ea;
/* rgb */ color: rgb(168, 119, 234);
/* oklch */ color: oklch(66.7% 0.170 301.7);
Tailwind
colors: {
  custom: {
    50: '#c59ff1',
    500: '#a877ea',
    950: '#000000',
  },
}
SCSS
$custom: #a877ea;
$custom-light: #c59ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#a877ea",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 265.565,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6673,
    "c": 0.16953,
    "h": 301.7
  },
  "luminance": 0.27459
}

Semantic roles & 50–950 ramp

primary
#A877EA
secondary
#E1EFCE
accent
#D51081
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A877EA

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

Preview Lab → · Contrast checker → · Palette generator →

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