#A877FE#A877FE

#A877FE is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.9% C 0.194 H 297.8°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A877FE
RGBrgb(168, 119, 254)
HSLhsl(262, 99%, 73%)
HSVhsv(262, 53%, 100%)
CMYKcmyk(33.9%, 53.1%, 0%, 0.4%)
CIE-LABlab(60.49, 46.94, -60.65)
CIE-LCHlch(60.49, 76.70, 307.74°)
OKLaboklab(67.9% 0.0904 -0.1716)
OKLCHoklch(67.9% 0.194 297.8)
XYZxyz(40.6302, 28.6737, 97.1407)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877FE #CDFE77
analogous
#7789FE #A877FE #EC77FE
triadic
#A877FE #FEA877 #77FEA8
tetradic
#A877FE #FE7789 #CDFE77 #77FEEC
square
#A877FE #FE7789 #CDFE77 #77FEEC
split-complementary
#A877FE #FEEC77 #89FE77
monochromatic
#5B02F9 #813AFE #A877FE #CFB4FE #ECE1FF

Accessibility & contrast

On white

3.12
#A877FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#A877FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877FE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877FE#FFFFFF#000000##000000
##A877FE1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#4E90FB
Tritanopia (blue-blind)
#9592AF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a877fe;
/* rgb */ color: rgb(168, 119, 254);
/* oklch */ color: oklch(67.9% 0.194 297.8);
Tailwind
colors: {
  custom: {
    50: '#c69fff',
    500: '#a877fe',
    950: '#000000',
  },
}
SCSS
$custom: #a877fe;
$custom-light: #c69fff;
$custom-dark: #000000;
JSON
{
  "hex": "#a877fe",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 261.778,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67898,
    "c": 0.19393,
    "h": 297.8
  },
  "luminance": 0.28674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A877FE

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

Preview Lab → · Contrast checker → · Palette generator →

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