#A87EE5#A87EE5

#A87EE5 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.6% C 0.152 H 301.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A87EE5
RGBrgb(168, 126, 229)
HSLhsl(264, 66%, 70%)
HSVhsv(264, 45%, 90%)
CMYKcmyk(26.6%, 45%, 0%, 10.2%)
CIE-LABlab(60.70, 36.94, -46.49)
CIE-LCHlch(60.70, 59.38, 308.47°)
OKLaboklab(67.62% 0.079 -0.1302)
OKLCHoklch(67.62% 0.152 301.3)
XYZxyz(37.7490, 28.9036, 77.7038)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EE5 #BBE57E
analogous
#7E88E5 #A87EE5 #DC7EE5
triadic
#A87EE5 #E5A87E #7EE5A8
tetradic
#A87EE5 #E57E88 #BBE57E #7EE5DC
square
#A87EE5 #E57E88 #BBE57E #7EE5DC
split-complementary
#A87EE5 #E5DC7E #88E57E
monochromatic
#6627C2 #864BDB #A87EE5 #CAB1EF #EDE4FA

Accessibility & contrast

On white

3.10
#A87EE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#A87EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EE5
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EE5#FFFFFF#000000##000000
##A87EE51.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6192E9
Deuteranopia (green-blind)
#6A92E2
Tritanopia (blue-blind)
#9D90A7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87ee5;
/* rgb */ color: rgb(168, 126, 229);
/* oklch */ color: oklch(67.6% 0.152 301.3);
Tailwind
colors: {
  custom: {
    50: '#c4a4ed',
    500: '#a87ee5',
    950: '#000000',
  },
}
SCSS
$custom: #a87ee5;
$custom-light: #c4a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ee5",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 229
  },
  "hsl": {
    "h": 264.466,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67619,
    "c": 0.15231,
    "h": 301.3
  },
  "luminance": 0.28904
}

Semantic roles & 50–950 ramp

primary
#A87EE5
secondary
#E2EED1
accent
#CE1784
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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