#A878FA#A878FA

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

Color values

HEX#A878FA
RGBrgb(168, 120, 250)
HSLhsl(262, 93%, 73%)
HSVhsv(262, 52%, 98%)
CMYKcmyk(32.8%, 52%, 0%, 2%)
CIE-LABlab(60.48, 45.40, -58.47)
CIE-LCHlch(60.48, 74.03, 307.83°)
OKLaboklab(67.82% 0.0889 -0.1652)
OKLCHoklch(67.82% 0.188 298.3)
XYZxyz(40.1160, 28.6595, 93.8423)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A878FA #CAFA78
analogous
#7889FA #A878FA #E978FA
triadic
#A878FA #FAA878 #78FAA8
tetradic
#A878FA #FA7889 #CAFA78 #78FAE9
square
#A878FA #FA7889 #CAFA78 #78FAE9
split-complementary
#A878FA #FAE978 #89FA78
monochromatic
#5E09EF #823DF8 #A878FA #CEB3FC #ECE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A878FA#FFFFFF#000000##000000
##A878FA1.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)
#4692FE
Deuteranopia (green-blind)
#5391F7
Tritanopia (blue-blind)
#9691AE
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a878fa;
/* rgb */ color: rgb(168, 120, 250);
/* oklch */ color: oklch(67.8% 0.188 298.3);
Tailwind
colors: {
  custom: {
    50: '#c6a0fc',
    500: '#a878fa',
    950: '#000000',
  },
}
SCSS
$custom: #a878fa;
$custom-light: #c6a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a878fa",
  "rgb": {
    "r": 168,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 262.154,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67816,
    "c": 0.1876,
    "h": 298.3
  },
  "luminance": 0.2866
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A878FA

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

Preview Lab → · Contrast checker → · Palette generator →

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