#A87BD7#A87BD7

#A87BD7 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.4% C 0.140 H 305.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A87BD7
RGBrgb(168, 123, 215)
HSLhsl(269, 53%, 66%)
HSVhsv(269, 43%, 84%)
CMYKcmyk(21.9%, 42.8%, 0%, 15.7%)
CIE-LABlab(59.34, 35.32, -40.80)
CIE-LCHlch(59.34, 53.97, 310.88°)
OKLaboklab(66.38% 0.081 -0.1137)
OKLCHoklch(66.38% 0.14 305.5)
XYZxyz(35.4946, 27.3973, 67.6951)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BD7 #AAD77B
analogous
#7B7CD7 #A87BD7 #D67BD7
triadic
#A87BD7 #D7A87B #7BD7A8
tetradic
#A87BD7 #D77B7C #AAD77B #7BD7D6
square
#A87BD7 #D77B7C #AAD77B #7BD7D6
split-complementary
#A87BD7 #D7D67B #7CD77B
monochromatic
#6B32A5 #894CC9 #A87BD7 #C7AAE5 #E6D9F3

Accessibility & contrast

On white

3.24
#A87BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A87BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BD7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BD7#FFFFFF#000000##000000
##A87BD71.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#658DDA
Deuteranopia (green-blind)
#6F8FD5
Tritanopia (blue-blind)
#A18A9F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87bd7;
/* rgb */ color: rgb(168, 123, 215);
/* oklch */ color: oklch(66.4% 0.140 305.5);
Tailwind
colors: {
  custom: {
    50: '#c3a2e3',
    500: '#a87bd7',
    950: '#000000',
  },
}
SCSS
$custom: #a87bd7;
$custom-light: #c3a2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bd7",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 215
  },
  "hsl": {
    "h": 269.348,
    "s": 53.488,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6638,
    "c": 0.13957,
    "h": 305.5
  },
  "luminance": 0.27397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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