#A87BDA#A87BDA

#A87BDA is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.5% C 0.143 H 304.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A87BDA
RGBrgb(168, 123, 218)
HSLhsl(268, 56%, 67%)
HSVhsv(268, 44%, 85%)
CMYKcmyk(22.9%, 43.6%, 0%, 14.5%)
CIE-LABlab(59.48, 36.02, -42.26)
CIE-LCHlch(59.48, 55.53, 310.44°)
OKLaboklab(66.53% 0.0815 -0.1179)
OKLCHoklch(66.53% 0.143 304.7)
XYZxyz(35.8837, 27.5529, 69.7439)
Luminance0.2755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BDA #ADDA7B
analogous
#7B7EDA #A87BDA #D87BDA
triadic
#A87BDA #DAA87B #7BDAA8
tetradic
#A87BDA #DA7B7E #ADDA7B #7BDAD8
square
#A87BDA #DA7B7E #ADDA7B #7BDAD8
split-complementary
#A87BDA #DAD87B #7EDA7B
monochromatic
#6A30AB #884BCD #A87BDA #C8ABE7 #E7DBF5

Accessibility & contrast

On white

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

On black

6.51
#A87BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BDA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BDA#FFFFFF#000000##000000
##A87BDA1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDD
Deuteranopia (green-blind)
#6E8FD8
Tritanopia (blue-blind)
#A08BA0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87bda;
/* rgb */ color: rgb(168, 123, 218);
/* oklch */ color: oklch(66.5% 0.143 304.7);
Tailwind
colors: {
  custom: {
    50: '#c4a2e6',
    500: '#a87bda',
    950: '#000000',
  },
}
SCSS
$custom: #a87bda;
$custom-light: #c4a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bda",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 268.421,
    "s": 56.213,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66533,
    "c": 0.14332,
    "h": 304.7
  },
  "luminance": 0.27553
}

Semantic roles & 50–950 ramp

primary
#A87BDA
secondary
#D9E8C9
accent
#C42277
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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