#A877EC#A877EC

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

Color values

HEX#A877EC
RGBrgb(168, 119, 236)
HSLhsl(265, 75%, 70%)
HSVhsv(265, 50%, 93%)
CMYKcmyk(28.8%, 49.6%, 0%, 7.5%)
CIE-LABlab(59.50, 42.52, -52.28)
CIE-LCHlch(59.50, 67.39, 309.12°)
OKLaboklab(66.84% 0.0891 -0.1471)
OKLCHoklch(66.84% 0.172 301.2)
XYZxyz(37.8821, 27.5745, 82.6673)
Luminance0.2757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877EC #BBEC77
analogous
#7781EC #A877EC #E277EC
triadic
#A877EC #ECA877 #77ECA8
tetradic
#A877EC #EC7781 #BBEC77 #77ECE2
square
#A877EC #EC7781 #BBEC77 #77ECE2
split-complementary
#A877EC #ECE277 #81EC77
monochromatic
#661DCC #8641E4 #A877EC #CAADF4 #EDE2FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A877EC#FFFFFF#000000##000000
##A877EC1.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)
#518FF0
Deuteranopia (green-blind)
#5E8FE9
Tritanopia (blue-blind)
#9B8DA7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a877ec;
/* rgb */ color: rgb(168, 119, 236);
/* oklch */ color: oklch(66.8% 0.172 301.2);
Tailwind
colors: {
  custom: {
    50: '#c59ff3',
    500: '#a877ec',
    950: '#000000',
  },
}
SCSS
$custom: #a877ec;
$custom-light: #c59ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#a877ec",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 265.128,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66843,
    "c": 0.17198,
    "h": 301.2
  },
  "luminance": 0.27575
}

Semantic roles & 50–950 ramp

primary
#A877EC
secondary
#E2F0CF
accent
#D80E83
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A877EC

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

Preview Lab → · Contrast checker → · Palette generator →

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