#A87DD4#A87DD4

#A87DD4 is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.6% C 0.132 H 305.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A87DD4
RGBrgb(168, 125, 212)
HSLhsl(270, 50%, 66%)
HSVhsv(270, 41%, 83%)
CMYKcmyk(20.8%, 41%, 0%, 16.9%)
CIE-LABlab(59.66, 33.50, -38.62)
CIE-LCHlch(59.66, 51.13, 310.95°)
OKLaboklab(66.57% 0.0776 -0.1074)
OKLCHoklch(66.57% 0.132 305.9)
XYZxyz(35.3633, 27.7458, 65.7671)
Luminance0.2775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DD4 #A9D47D
analogous
#7D7DD4 #A87DD4 #D37DD4
triadic
#A87DD4 #D4A87D #7DD4A8
tetradic
#A87DD4 #D47D7D #A9D47D #7DD4D3
square
#A87DD4 #D47D7D #A9D47D #7DD4D3
split-complementary
#A87DD4 #D4D37D #7DD47D
monochromatic
#6B35A1 #894FC5 #A87DD4 #C7ABE3 #E6D9F2

Accessibility & contrast

On white

3.21
#A87DD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#A87DD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DD4
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DD4#FFFFFF#000000##000000
##A87DD41.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#698ED7
Deuteranopia (green-blind)
#7390D2
Tritanopia (blue-blind)
#A18B9E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a87dd4;
/* rgb */ color: rgb(168, 125, 212);
/* oklch */ color: oklch(66.6% 0.132 305.9);
Tailwind
colors: {
  custom: {
    50: '#c3a3e1',
    500: '#a87dd4',
    950: '#000000',
  },
}
SCSS
$custom: #a87dd4;
$custom-light: #c3a3e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a87dd4",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 269.655,
    "s": 50.289,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66574,
    "c": 0.13249,
    "h": 305.9
  },
  "luminance": 0.27746
}

Semantic roles & 50–950 ramp

primary
#A87DD4
secondary
#D7E5C8
accent
#BE2874
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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