#A87AEE#A87AEE

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

Color values

HEX#A87AEE
RGBrgb(168, 122, 238)
HSLhsl(264, 77%, 71%)
HSVhsv(264, 49%, 93%)
CMYKcmyk(29.4%, 48.7%, 0%, 6.7%)
CIE-LABlab(60.26, 41.35, -52.18)
CIE-LCHlch(60.26, 66.58, 308.39°)
OKLaboklab(67.44% 0.0854 -0.1468)
OKLCHoklch(67.44% 0.17 300.2)
XYZxyz(38.5370, 28.4167, 84.3270)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AEE #C0EE7A
analogous
#7A86EE #A87AEE #E27AEE
triadic
#A87AEE #EEA87A #7AEEA8
tetradic
#A87AEE #EE7A86 #C0EE7A #7AEEE2
square
#A87AEE #EE7A86 #C0EE7A #7AEEE2
split-complementary
#A87AEE #EEE27A #86EE7A
monochromatic
#641BD3 #8544E7 #A87AEE #CBB0F5 #EDE4FC

Accessibility & contrast

On white

3.14
#A87AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#A87AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AEE
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AEE#FFFFFF#000000##000000
##A87AEE1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F2
Deuteranopia (green-blind)
#6091EB
Tritanopia (blue-blind)
#9A8FA9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87aee;
/* rgb */ color: rgb(168, 122, 238);
/* oklch */ color: oklch(67.4% 0.170 300.2);
Tailwind
colors: {
  custom: {
    50: '#c5a1f4',
    500: '#a87aee',
    950: '#000000',
  },
}
SCSS
$custom: #a87aee;
$custom-light: #c5a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a87aee",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 263.793,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67445,
    "c": 0.16983,
    "h": 300.2
  },
  "luminance": 0.28417
}

Semantic roles & 50–950 ramp

primary
#A87AEE
secondary
#E5F2D2
accent
#DA0C88
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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