#A878BB#A878BB

#A878BB is a light, moderate purple. Relative luminance 0.253; OKLCH L 64.5% C 0.111 H 316.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A878BB
RGBrgb(168, 120, 187)
HSLhsl(283, 33%, 60%)
HSVhsv(283, 36%, 73%)
CMYKcmyk(10.2%, 35.8%, 0%, 26.7%)
CIE-LABlab(57.41, 30.80, -27.95)
CIE-LCHlch(57.41, 41.60, 317.77°)
OKLaboklab(64.52% 0.0796 -0.0767)
OKLCHoklch(64.52% 0.111 316.1)
XYZxyz(31.8332, 25.3463, 50.2195)
Luminance0.2535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A878BB #8BBB78
analogous
#8678BB #A878BB #BB78AC
triadic
#A878BB #BBA878 #78BBA8
tetradic
#A878BB #BB8678 #8BBB78 #78ACBB
square
#A878BB #BB8678 #8BBB78 #78ACBB
split-complementary
#A878BB #ACBB78 #78BB86
monochromatic
#693E7B #8C52A3 #A878BB #C2A1D0 #DCC9E4

Accessibility & contrast

On white

3.46
#A878BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#A878BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A878BB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A878BB#FFFFFF#000000##000000
##A878BB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E87BE
Deuteranopia (green-blind)
#798BB9
Tritanopia (blue-blind)
#A78091
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #a878bb;
/* rgb */ color: rgb(168, 120, 187);
/* oklch */ color: oklch(64.5% 0.111 316.1);
Tailwind
colors: {
  custom: {
    50: '#c39fcf',
    500: '#a878bb',
    950: '#000000',
  },
}
SCSS
$custom: #a878bb;
$custom-light: #c39fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a878bb",
  "rgb": {
    "r": 168,
    "g": 120,
    "b": 187
  },
  "hsl": {
    "h": 282.985,
    "s": 33.005,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64517,
    "c": 0.11058,
    "h": 316.1
  },
  "luminance": 0.25346
}

Semantic roles & 50–950 ramp

primary
#A878BB
secondary
#C2D4BB
accent
#AC3A5A
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A878BB

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

Preview Lab → · Contrast checker → · Palette generator →

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