#A87CD6#A87CD6

#A87CD6 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.5% C 0.137 H 305.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A87CD6
RGBrgb(168, 124, 214)
HSLhsl(269, 52%, 66%)
HSVhsv(269, 42%, 84%)
CMYKcmyk(21.5%, 42.1%, 0%, 16.1%)
CIE-LABlab(59.52, 34.53, -39.96)
CIE-LCHlch(59.52, 52.81, 310.83°)
OKLaboklab(66.5% 0.0794 -0.1112)
OKLCHoklch(66.5% 0.137 305.5)
XYZxyz(35.4912, 27.5954, 67.0620)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CD6 #AAD67C
analogous
#7C7DD6 #A87CD6 #D57CD6
triadic
#A87CD6 #D6A87C #7CD6A8
tetradic
#A87CD6 #D67C7D #AAD67C #7CD6D5
square
#A87CD6 #D67C7D #AAD67C #7CD6D5
split-complementary
#A87CD6 #D6D57C #7DD67C
monochromatic
#6B33A4 #894DC7 #A87CD6 #C7ABE5 #E6D9F3

Accessibility & contrast

On white

3.22
#A87CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A87CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CD6
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CD6#FFFFFF#000000##000000
##A87CD61.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#668ED9
Deuteranopia (green-blind)
#7190D4
Tritanopia (blue-blind)
#A18A9F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87cd6;
/* rgb */ color: rgb(168, 124, 214);
/* oklch */ color: oklch(66.5% 0.137 305.5);
Tailwind
colors: {
  custom: {
    50: '#c3a2e3',
    500: '#a87cd6',
    950: '#000000',
  },
}
SCSS
$custom: #a87cd6;
$custom-light: #c3a2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cd6",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 214
  },
  "hsl": {
    "h": 269.333,
    "s": 52.326,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66501,
    "c": 0.13667,
    "h": 305.5
  },
  "luminance": 0.27595
}

Semantic roles & 50–950 ramp

primary
#A87CD6
secondary
#D7E6C8
accent
#C02674
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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