#A87ACC#A87ACC

#A87ACC is a light, vivid violet. Relative luminance 0.266; OKLCH L 65.7% C 0.128 H 309.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A87ACC
RGBrgb(168, 122, 204)
HSLhsl(274, 45%, 64%)
HSVhsv(274, 40%, 80%)
CMYKcmyk(17.6%, 40.2%, 0%, 20%)
CIE-LABlab(58.61, 33.38, -35.75)
CIE-LCHlch(58.61, 48.91, 313.03°)
OKLaboklab(65.66% 0.0804 -0.0991)
OKLCHoklch(65.66% 0.128 309.1)
XYZxyz(34.0050, 26.6039, 60.4587)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87ACC #9ECC7A
analogous
#7F7ACC #A87ACC #CC7AC7
triadic
#A87ACC #CCA87A #7ACCA8
tetradic
#A87ACC #CC7F7A #9ECC7A #7AC7CC
square
#A87ACC #CC7F7A #9ECC7A #7AC7CC
split-complementary
#A87ACC #C7CC7A #7ACC7F
monochromatic
#6B3893 #8B4EBB #A87ACC #C5A6DD #E2D2EE

Accessibility & contrast

On white

3.32
#A87ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#A87ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87ACC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87ACC#FFFFFF#000000##000000
##A87ACC1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#748ECA
Tritanopia (blue-blind)
#A48699
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a87acc;
/* rgb */ color: rgb(168, 122, 204);
/* oklch */ color: oklch(65.7% 0.128 309.1);
Tailwind
colors: {
  custom: {
    50: '#c3a1dc',
    500: '#a87acc',
    950: '#000000',
  },
}
SCSS
$custom: #a87acc;
$custom-light: #c3a1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87acc",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 273.659,
    "s": 44.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65661,
    "c": 0.1276,
    "h": 309.1
  },
  "luminance": 0.26604
}

Semantic roles & 50–950 ramp

primary
#A87ACC
secondary
#CFDFC3
accent
#B82E6A
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130F15
muted
#827E83

Preview Lab

Preview with #A87ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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