#A878CA#A878CA

#A878CA is a light, vivid violet. Relative luminance 0.260; OKLCH L 65.2% C 0.129 H 310.1°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A878CA
RGBrgb(168, 120, 202)
HSLhsl(275, 44%, 63%)
HSVhsv(275, 41%, 79%)
CMYKcmyk(16.8%, 40.6%, 0%, 20.8%)
CIE-LABlab(58.06, 34.05, -35.48)
CIE-LCHlch(58.06, 49.18, 313.83°)
OKLaboklab(65.22% 0.0829 -0.0983)
OKLCHoklch(65.22% 0.129 310.1)
XYZxyz(33.5237, 26.0225, 59.1225)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A878CA #9ACA78
analogous
#7F78CA #A878CA #CA78C3
triadic
#A878CA #CAA878 #78CAA8
tetradic
#A878CA #CA7F78 #9ACA78 #78C3CA
square
#A878CA #CA7F78 #9ACA78 #78C3CA
split-complementary
#A878CA #C3CA78 #78CA7F
monochromatic
#6B388F #8C4CB9 #A878CA #C4A4DB #E1D0ED

Accessibility & contrast

On white

3.38
#A878CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#A878CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A878CA
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A878CA#FFFFFF#000000##000000
##A878CA1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6789CD
Deuteranopia (green-blind)
#738CC8
Tritanopia (blue-blind)
#A48497
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a878ca;
/* rgb */ color: rgb(168, 120, 202);
/* oklch */ color: oklch(65.2% 0.129 310.1);
Tailwind
colors: {
  custom: {
    50: '#c3a0da',
    500: '#a878ca',
    950: '#000000',
  },
}
SCSS
$custom: #a878ca;
$custom-light: #c3a0da;
$custom-dark: #000000;
JSON
{
  "hex": "#a878ca",
  "rgb": {
    "r": 168,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 275.122,
    "s": 43.617,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65218,
    "c": 0.12859,
    "h": 310.1
  },
  "luminance": 0.26022
}

Semantic roles & 50–950 ramp

primary
#A878CA
secondary
#CCDEC0
accent
#B72F67
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130E15
muted
#827E83

Preview Lab

Preview with #A878CA

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

Preview Lab → · Contrast checker → · Palette generator →

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