#A877FF#A877FF

#A877FF is a light, vivid violet. Relative luminance 0.287; OKLCH L 68.0% C 0.195 H 297.6°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A877FF
RGBrgb(168, 119, 255)
HSLhsl(262, 100%, 73%)
HSVhsv(262, 53%, 100%)
CMYKcmyk(34.1%, 53.3%, 0%, 0%)
CIE-LABlab(60.55, 47.19, -61.11)
CIE-LCHlch(60.55, 77.21, 307.68°)
OKLaboklab(67.96% 0.0904 -0.1729)
OKLCHoklch(67.96% 0.195 297.6)
XYZxyz(40.7908, 28.7380, 97.9863)
Luminance0.2874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877FF #CEFF77
analogous
#778AFF #A877FF #EC77FF
triadic
#A877FF #FFA877 #77FFA8
tetradic
#A877FF #FF778A #CEFF77 #77FFEC
square
#A877FF #FF778A #CEFF77 #77FFEC
split-complementary
#A877FF #FFEC77 #8AFF77
monochromatic
#5B00FC #813AFF #A877FF #CFB4FF #EBE0FF

Accessibility & contrast

On white

3.11
#A877FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#A877FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877FF
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877FF#FFFFFF#000000##000000
##A877FF1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F92FF
Deuteranopia (green-blind)
#4D91FC
Tritanopia (blue-blind)
#9592B0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a877ff;
/* rgb */ color: rgb(168, 119, 255);
/* oklch */ color: oklch(68.0% 0.195 297.6);
Tailwind
colors: {
  custom: {
    50: '#c69fff',
    500: '#a877ff',
    950: '#000000',
  },
}
SCSS
$custom: #a877ff;
$custom-light: #c69fff;
$custom-dark: #000000;
JSON
{
  "hex": "#a877ff",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 255
  },
  "hsl": {
    "h": 261.618,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67959,
    "c": 0.19513,
    "h": 297.6
  },
  "luminance": 0.28738
}

Semantic roles & 50–950 ramp

primary
#A877FF
secondary
#EAF7D4
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A877FF

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

Preview Lab → · Contrast checker → · Palette generator →

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