#A877FC#A877FC

#A877FC is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.8% C 0.192 H 298.1°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A877FC
RGBrgb(168, 119, 252)
HSLhsl(262, 96%, 73%)
HSVhsv(262, 53%, 99%)
CMYKcmyk(33.3%, 52.8%, 0%, 1.2%)
CIE-LABlab(60.38, 46.44, -59.73)
CIE-LCHlch(60.38, 75.66, 307.87°)
OKLaboklab(67.78% 0.0903 -0.1689)
OKLCHoklch(67.78% 0.192 298.1)
XYZxyz(40.3116, 28.5463, 95.4628)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A877FC #CBFC77
analogous
#7789FC #A877FC #EA77FC
triadic
#A877FC #FCA877 #77FCA8
tetradic
#A877FC #FC7789 #CBFC77 #77FCEA
square
#A877FC #FC7789 #CBFC77 #77FCEA
split-complementary
#A877FC #FCEA77 #89FC77
monochromatic
#5D05F3 #823BFB #A877FC #CEB3FD #ECE1FE

Accessibility & contrast

On white

3.13
#A877FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A877FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A877FC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A877FC#FFFFFF#000000##000000
##A877FC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#5090F9
Tritanopia (blue-blind)
#9691AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a877fc;
/* rgb */ color: rgb(168, 119, 252);
/* oklch */ color: oklch(67.8% 0.192 298.1);
Tailwind
colors: {
  custom: {
    50: '#c69ffe',
    500: '#a877fc',
    950: '#000000',
  },
}
SCSS
$custom: #a877fc;
$custom-light: #c69ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#a877fc",
  "rgb": {
    "r": 168,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 262.105,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67778,
    "c": 0.1915,
    "h": 298.1
  },
  "luminance": 0.28547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A877FC

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

Preview Lab → · Contrast checker → · Palette generator →

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