#A877E9#A877E9

#A877E9 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.7% C 0.168 H 301.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A877E9
RGBrgb(168, 119, 233)
HSLhsl(266, 72%, 69%)
HSVhsv(266, 49%, 91%)
CMYKcmyk(27.9%, 48.9%, 0%, 8.6%)
CIE-LABlab(59.34, 41.80, -50.86)
CIE-LCHlch(59.34, 65.83, 309.41°)
OKLaboklab(66.67% 0.0889 -0.1429)
OKLCHoklch(66.67% 0.168 301.9)
XYZxyz(37.4499, 27.4016, 80.3911)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877E9 #B8E977
analogous
#777FE9 #A877E9 #E177E9
triadic
#A877E9 #E9A877 #77E9A8
tetradic
#A877E9 #E9777F #B8E977 #77E9E1
square
#A877E9 #E9777F #B8E977 #77E9E1
split-complementary
#A877E9 #E9E177 #7FE977
monochromatic
#6720C6 #8642E0 #A877E9 #CAACF2 #EBE0FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A877E9#FFFFFF#000000##000000
##A877E91.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)
#538EED
Deuteranopia (green-blind)
#608EE6
Tritanopia (blue-blind)
#9C8CA5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a877e9;
/* rgb */ color: rgb(168, 119, 233);
/* oklch */ color: oklch(66.7% 0.168 301.9);
Tailwind
colors: {
  custom: {
    50: '#c49ff0',
    500: '#a877e9',
    950: '#000000',
  },
}
SCSS
$custom: #a877e9;
$custom-light: #c49ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#a877e9",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 233
  },
  "hsl": {
    "h": 265.789,
    "s": 72.152,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66674,
    "c": 0.16831,
    "h": 301.9
  },
  "luminance": 0.27402
}

Semantic roles & 50–950 ramp

primary
#A877E9
secondary
#E0EFCD
accent
#D41180
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A877E9

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

Preview Lab → · Contrast checker → · Palette generator →

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