#A87EDA#A87EDA

#A87EDA is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.0% C 0.138 H 304.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A87EDA
RGBrgb(168, 126, 218)
HSLhsl(267, 55%, 67%)
HSVhsv(267, 42%, 85%)
CMYKcmyk(22.9%, 42.2%, 0%, 14.5%)
CIE-LABlab(60.17, 34.33, -41.19)
CIE-LCHlch(60.17, 53.62, 309.82°)
OKLaboklab(67.05% 0.0773 -0.1148)
OKLCHoklch(67.05% 0.138 304)
XYZxyz(36.2615, 28.3086, 69.8698)
Luminance0.2831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EDA #B0DA7E
analogous
#7E82DA #A87EDA #D67EDA
triadic
#A87EDA #DAA87E #7EDAA8
tetradic
#A87EDA #DA7E82 #B0DA7E #7EDAD6
square
#A87EDA #DA7E82 #B0DA7E #7EDAD6
split-complementary
#A87EDA #DAD67E #82DA7E
monochromatic
#6931AC #884ECC #A87EDA #C8AEE8 #E8DDF5

Accessibility & contrast

On white

3.15
#A87EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#A87EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EDA
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EDA#FFFFFF#000000##000000
##A87EDA1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6790DD
Deuteranopia (green-blind)
#7091D8
Tritanopia (blue-blind)
#A08DA2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87eda;
/* rgb */ color: rgb(168, 126, 218);
/* oklch */ color: oklch(67.0% 0.138 304.0);
Tailwind
colors: {
  custom: {
    50: '#c3a4e6',
    500: '#a87eda',
    950: '#000000',
  },
}
SCSS
$custom: #a87eda;
$custom-light: #c3a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a87eda",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 267.391,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.67048,
    "c": 0.1384,
    "h": 304
  },
  "luminance": 0.28308
}

Semantic roles & 50–950 ramp

primary
#A87EDA
secondary
#DBE8CC
accent
#C3237A
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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