#A87BD2#A87BD2

#A87BD2 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.1% C 0.133 H 306.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A87BD2
RGBrgb(168, 123, 210)
HSLhsl(271, 49%, 65%)
HSVhsv(271, 41%, 82%)
CMYKcmyk(20%, 41.4%, 0%, 17.6%)
CIE-LABlab(59.11, 34.17, -38.35)
CIE-LCHlch(59.11, 51.37, 311.70°)
OKLaboklab(66.13% 0.0801 -0.1066)
OKLCHoklch(66.13% 0.133 306.9)
XYZxyz(34.8620, 27.1442, 64.3631)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BD2 #A5D27B
analogous
#7C7BD2 #A87BD2 #D27BD1
triadic
#A87BD2 #D2A87B #7BD2A8
tetradic
#A87BD2 #D27C7B #A5D27B #7BD1D2
square
#A87BD2 #D27C7B #A5D27B #7BD1D2
split-complementary
#A87BD2 #D1D27B #7BD27C
monochromatic
#6B369D #8A4DC2 #A87BD2 #C6A9E2 #E4D6F1

Accessibility & contrast

On white

3.27
#A87BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#A87BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BD2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BD2#FFFFFF#000000##000000
##A87BD21.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#678DD5
Deuteranopia (green-blind)
#728FD0
Tritanopia (blue-blind)
#A2899C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a87bd2;
/* rgb */ color: rgb(168, 123, 210);
/* oklch */ color: oklch(66.1% 0.133 306.9);
Tailwind
colors: {
  custom: {
    50: '#c3a2e0',
    500: '#a87bd2',
    950: '#000000',
  },
}
SCSS
$custom: #a87bd2;
$custom-light: #c3a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bd2",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 271.034,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66128,
    "c": 0.13335,
    "h": 306.9
  },
  "luminance": 0.27144
}

Semantic roles & 50–950 ramp

primary
#A87BD2
secondary
#D4E3C6
accent
#BC2970
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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