#A87BD9#A87BD9

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

Color values

HEX#A87BD9
RGBrgb(168, 123, 217)
HSLhsl(269, 55%, 67%)
HSVhsv(269, 43%, 85%)
CMYKcmyk(22.6%, 43.3%, 0%, 14.9%)
CIE-LABlab(59.43, 35.78, -41.77)
CIE-LCHlch(59.43, 55.01, 310.58°)
OKLaboklab(66.48% 0.0813 -0.1165)
OKLCHoklch(66.48% 0.142 304.9)
XYZxyz(35.7532, 27.5007, 69.0568)
Luminance0.2750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BD9 #ACD97B
analogous
#7B7DD9 #A87BD9 #D77BD9
triadic
#A87BD9 #D9A87B #7BD9A8
tetradic
#A87BD9 #D97B7D #ACD97B #7BD9D7
square
#A87BD9 #D97B7D #ACD97B #7BD9D7
split-complementary
#A87BD9 #D9D77B #7DD97B
monochromatic
#6A31A9 #894BCB #A87BD9 #C7ABE7 #E7DAF4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A87BD9#FFFFFF#000000##000000
##A87BD91.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)
#638EDC
Deuteranopia (green-blind)
#6E8FD7
Tritanopia (blue-blind)
#A08AA0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87bd9;
/* rgb */ color: rgb(168, 123, 217);
/* oklch */ color: oklch(66.5% 0.142 304.9);
Tailwind
colors: {
  custom: {
    50: '#c3a2e5',
    500: '#a87bd9',
    950: '#000000',
  },
}
SCSS
$custom: #a87bd9;
$custom-light: #c3a2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bd9",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 268.723,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66482,
    "c": 0.14208,
    "h": 304.9
  },
  "luminance": 0.27501
}

Semantic roles & 50–950 ramp

primary
#A87BD9
secondary
#D9E7C9
accent
#C32376
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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