#A877FB#A877FB

#A877FB is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.7% C 0.190 H 298.3°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A877FB
RGBrgb(168, 119, 251)
HSLhsl(262, 94%, 73%)
HSVhsv(262, 53%, 98%)
CMYKcmyk(33.1%, 52.6%, 0%, 1.6%)
CIE-LABlab(60.32, 46.20, -59.27)
CIE-LCHlch(60.32, 75.15, 307.93°)
OKLaboklab(67.72% 0.0902 -0.1675)
OKLCHoklch(67.72% 0.19 298.3)
XYZxyz(40.1536, 28.4831, 94.6304)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877FB #CAFB77
analogous
#7788FB #A877FB #EA77FB
triadic
#A877FB #FBA877 #77FBA8
tetradic
#A877FB #FB7788 #CAFB77 #77FBEA
square
#A877FB #FB7788 #CAFB77 #77FBEA
split-complementary
#A877FB #FBEA77 #88FB77
monochromatic
#5E07F1 #823CF9 #A877FB #CEB2FD #ECE1FE

Accessibility & contrast

On white

3.14
#A877FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#A877FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877FB
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877FB#FFFFFF#000000##000000
##A877FB1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#5190F8
Tritanopia (blue-blind)
#9691AE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a877fb;
/* rgb */ color: rgb(168, 119, 251);
/* oklch */ color: oklch(67.7% 0.190 298.3);
Tailwind
colors: {
  custom: {
    50: '#c69ffd',
    500: '#a877fb',
    950: '#000000',
  },
}
SCSS
$custom: #a877fb;
$custom-light: #c69ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#a877fb",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 262.273,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67718,
    "c": 0.19029,
    "h": 298.3
  },
  "luminance": 0.28484
}

Semantic roles & 50–950 ramp

primary
#A877FB
secondary
#EAF6D5
accent
#E60090
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130F18
muted
#827E86

Preview Lab

Preview with #A877FB

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

Preview Lab → · Contrast checker → · Palette generator →

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