#A87CD4#A87CD4

#A87CD4 is a light, vivid violet. Relative luminance 0.275; OKLCH L 66.4% C 0.134 H 306.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A87CD4
RGBrgb(168, 124, 212)
HSLhsl(270, 51%, 66%)
HSVhsv(270, 42%, 83%)
CMYKcmyk(20.8%, 41.5%, 0%, 16.9%)
CIE-LABlab(59.43, 34.07, -38.98)
CIE-LCHlch(59.43, 51.77, 311.15°)
OKLaboklab(66.4% 0.0791 -0.1084)
OKLCHoklch(66.4% 0.134 306.1)
XYZxyz(35.2374, 27.4938, 65.7251)
Luminance0.2749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CD4 #A8D47C
analogous
#7C7CD4 #A87CD4 #D47CD4
triadic
#A87CD4 #D4A87C #7CD4A8
tetradic
#A87CD4 #D47C7C #A8D47C #7CD4D4
square
#A87CD4 #D47C7C #A8D47C #7CD4D4
split-complementary
#A87CD4 #D4D47C #7CD47C
monochromatic
#6B35A1 #894EC5 #A87CD4 #C7AAE3 #E5D8F2

Accessibility & contrast

On white

3.23
#A87CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A87CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CD4
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CD4#FFFFFF#000000##000000
##A87CD41.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#678ED7
Deuteranopia (green-blind)
#728FD2
Tritanopia (blue-blind)
#A18A9E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87cd4;
/* rgb */ color: rgb(168, 124, 212);
/* oklch */ color: oklch(66.4% 0.134 306.1);
Tailwind
colors: {
  custom: {
    50: '#c3a2e1',
    500: '#a87cd4',
    950: '#000000',
  },
}
SCSS
$custom: #a87cd4;
$custom-light: #c3a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cd4",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 270,
    "s": 50.575,
    "l": 65.882
  },
  "oklch": {
    "l": 0.664,
    "c": 0.13416,
    "h": 306.1
  },
  "luminance": 0.27494
}

Semantic roles & 50–950 ramp

primary
#A87CD4
secondary
#D6E4C7
accent
#BE2873
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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