#A878EA#A878EA

#A878EA is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.9% C 0.168 H 301.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A878EA
RGBrgb(168, 120, 234)
HSLhsl(265, 73%, 69%)
HSVhsv(265, 49%, 92%)
CMYKcmyk(28.2%, 48.7%, 0%, 8.2%)
CIE-LABlab(59.62, 41.48, -50.99)
CIE-LCHlch(59.62, 65.73, 309.13°)
OKLaboklab(66.89% 0.0877 -0.1433)
OKLCHoklch(66.89% 0.168 301.5)
XYZxyz(37.7128, 27.6982, 81.1854)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A878EA #BAEA78
analogous
#7881EA #A878EA #E178EA
triadic
#A878EA #EAA878 #78EAA8
tetradic
#A878EA #EA7881 #BAEA78 #78EAE1
square
#A878EA #EA7881 #BAEA78 #78EAE1
split-complementary
#A878EA #EAE178 #81EA78
monochromatic
#661FC8 #8643E2 #A878EA #CAADF2 #ECE2FA

Accessibility & contrast

On white

3.21
#A878EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A878EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A878EA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A878EA#FFFFFF#000000##000000
##A878EA1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#548FEE
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#9C8DA6
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a878ea;
/* rgb */ color: rgb(168, 120, 234);
/* oklch */ color: oklch(66.9% 0.168 301.5);
Tailwind
colors: {
  custom: {
    50: '#c5a0f1',
    500: '#a878ea',
    950: '#000000',
  },
}
SCSS
$custom: #a878ea;
$custom-light: #c5a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a878ea",
  "rgb": {
    "r": 168,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 265.263,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66893,
    "c": 0.16798,
    "h": 301.5
  },
  "luminance": 0.27698
}

Semantic roles & 50–950 ramp

primary
#A878EA
secondary
#E1EFCE
accent
#D51082
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130F17
muted
#827E85

Preview Lab

Preview with #A878EA

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

Preview Lab → · Contrast checker → · Palette generator →

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