#A877EB#A877EB

#A877EB is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.8% C 0.171 H 301.4°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A877EB
RGBrgb(168, 119, 235)
HSLhsl(265, 74%, 69%)
HSVhsv(265, 49%, 92%)
CMYKcmyk(28.5%, 49.4%, 0%, 7.8%)
CIE-LABlab(59.45, 42.28, -51.81)
CIE-LCHlch(59.45, 66.87, 309.22°)
OKLaboklab(66.79% 0.0891 -0.1457)
OKLCHoklch(66.79% 0.171 301.4)
XYZxyz(37.7372, 27.5165, 81.9043)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877EB #BAEB77
analogous
#7780EB #A877EB #E277EB
triadic
#A877EB #EBA877 #77EBA8
tetradic
#A877EB #EB7780 #BAEB77 #77EBE2
square
#A877EB #EB7780 #BAEB77 #77EBE2
split-complementary
#A877EB #EBE277 #80EB77
monochromatic
#661ECA #8642E3 #A877EB #CAACF3 #ECE2FB

Accessibility & contrast

On white

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

On black

6.50
#A877EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877EB
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877EB#FFFFFF#000000##000000
##A877EB1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#9B8CA6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a877eb;
/* rgb */ color: rgb(168, 119, 235);
/* oklch */ color: oklch(66.8% 0.171 301.4);
Tailwind
colors: {
  custom: {
    50: '#c59ff2',
    500: '#a877eb',
    950: '#000000',
  },
}
SCSS
$custom: #a877eb;
$custom-light: #c59ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a877eb",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 235
  },
  "hsl": {
    "h": 265.345,
    "s": 74.359,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66787,
    "c": 0.17075,
    "h": 301.4
  },
  "luminance": 0.27517
}

Semantic roles & 50–950 ramp

primary
#A877EB
secondary
#E1F0CE
accent
#D60F82
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A877EB

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

Preview Lab → · Contrast checker → · Palette generator →

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