#A87DED#A87DED

#A87DED is a light, vivid violet. Relative luminance 0.291; OKLCH L 67.9% C 0.164 H 299.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A87DED
RGBrgb(168, 125, 237)
HSLhsl(263, 76%, 71%)
HSVhsv(263, 47%, 93%)
CMYKcmyk(29.1%, 47.3%, 0%, 7.1%)
CIE-LABlab(60.88, 39.44, -50.65)
CIE-LCHlch(60.88, 64.20, 307.90°)
OKLaboklab(67.88% 0.0814 -0.1423)
OKLCHoklch(67.88% 0.164 299.8)
XYZxyz(38.7646, 29.1062, 83.6801)
Luminance0.2911 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DED #C2ED7D
analogous
#7D8AED #A87DED #E07DED
triadic
#A87DED #EDA87D #7DEDA8
tetradic
#A87DED #ED7D8A #C2ED7D #7DEDE0
square
#A87DED #ED7D8A #C2ED7D #7DEDE0
split-complementary
#A87DED #EDE07D #8AED7D
monochromatic
#631DD2 #8447E6 #A87DED #CCB3F4 #EDE4FB

Accessibility & contrast

On white

3.08
#A87DED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#A87DED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DED
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DED#FFFFFF#000000##000000
##A87DED1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F1
Deuteranopia (green-blind)
#6492EA
Tritanopia (blue-blind)
#9A91AA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87ded;
/* rgb */ color: rgb(168, 125, 237);
/* oklch */ color: oklch(67.9% 0.164 299.8);
Tailwind
colors: {
  custom: {
    50: '#c4a3f3',
    500: '#a87ded',
    950: '#000000',
  },
}
SCSS
$custom: #a87ded;
$custom-light: #c4a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ded",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 263.036,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67885,
    "c": 0.16396,
    "h": 299.8
  },
  "luminance": 0.29106
}

Semantic roles & 50–950 ramp

primary
#A87DED
secondary
#E6F2D4
accent
#D80E8A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87DED

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

Preview Lab → · Contrast checker → · Palette generator →

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