#A87AED#A87AED

#A87AED is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.4% C 0.169 H 300.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A87AED
RGBrgb(168, 122, 237)
HSLhsl(264, 76%, 70%)
HSVhsv(264, 49%, 93%)
CMYKcmyk(29.1%, 48.5%, 0%, 7.1%)
CIE-LABlab(60.21, 41.10, -51.71)
CIE-LCHlch(60.21, 66.05, 308.48°)
OKLaboklab(67.39% 0.0853 -0.1454)
OKLCHoklch(67.39% 0.169 300.4)
XYZxyz(38.3905, 28.3581, 83.5555)
Luminance0.2836 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AED #BFED7A
analogous
#7A85ED #A87AED #E17AED
triadic
#A87AED #EDA87A #7AEDA8
tetradic
#A87AED #ED7A85 #BFED7A #7AEDE1
square
#A87AED #ED7A85 #BFED7A #7AEDE1
split-complementary
#A87AED #EDE17A #85ED7A
monochromatic
#641CD0 #8544E6 #A87AED #CBB0F4 #EDE4FB

Accessibility & contrast

On white

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

On black

6.67
#A87AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AED
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AED#FFFFFF#000000##000000
##A87AED1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F1
Deuteranopia (green-blind)
#6190EA
Tritanopia (blue-blind)
#9A8FA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87aed;
/* rgb */ color: rgb(168, 122, 237);
/* oklch */ color: oklch(67.4% 0.169 300.4);
Tailwind
colors: {
  custom: {
    50: '#c5a1f3',
    500: '#a87aed',
    950: '#000000',
  },
}
SCSS
$custom: #a87aed;
$custom-light: #c5a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87aed",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 264,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67389,
    "c": 0.16859,
    "h": 300.4
  },
  "luminance": 0.28358
}

Semantic roles & 50–950 ramp

primary
#A87AED
secondary
#E5F1D2
accent
#D80D87
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87AED

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

Preview Lab → · Contrast checker → · Palette generator →

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