#A87BD6#A87BD6

#A87BD6 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.3% C 0.138 H 305.8°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A87BD6
RGBrgb(168, 123, 214)
HSLhsl(270, 53%, 66%)
HSVhsv(270, 43%, 84%)
CMYKcmyk(21.5%, 42.5%, 0%, 16.1%)
CIE-LABlab(59.29, 35.09, -40.31)
CIE-LCHlch(59.29, 53.45, 311.04°)
OKLaboklab(66.33% 0.0808 -0.1123)
OKLCHoklch(66.33% 0.138 305.8)
XYZxyz(35.3665, 27.3460, 67.0204)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BD6 #A9D67B
analogous
#7B7BD6 #A87BD6 #D57BD6
triadic
#A87BD6 #D6A87B #7BD6A8
tetradic
#A87BD6 #D67B7B #A9D67B #7BD6D5
square
#A87BD6 #D67B7B #A9D67B #7BD6D5
split-complementary
#A87BD6 #D6D57B #7BD67B
monochromatic
#6B33A4 #894CC7 #A87BD6 #C7AAE5 #E6D8F3

Accessibility & contrast

On white

3.25
#A87BD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#A87BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BD6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BD6#FFFFFF#000000##000000
##A87BD61.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#658DD9
Deuteranopia (green-blind)
#708FD4
Tritanopia (blue-blind)
#A18A9E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87bd6;
/* rgb */ color: rgb(168, 123, 214);
/* oklch */ color: oklch(66.3% 0.138 305.8);
Tailwind
colors: {
  custom: {
    50: '#c3a2e3',
    500: '#a87bd6',
    950: '#000000',
  },
}
SCSS
$custom: #a87bd6;
$custom-light: #c3a2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bd6",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 214
  },
  "hsl": {
    "h": 269.67,
    "s": 52.601,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66329,
    "c": 0.13833,
    "h": 305.8
  },
  "luminance": 0.27346
}

Semantic roles & 50–950 ramp

primary
#A87BD6
secondary
#D7E5C7
accent
#C02574
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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