#A87EE4#A87EE4

#A87EE4 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.6% C 0.151 H 301.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A87EE4
RGBrgb(168, 126, 228)
HSLhsl(265, 65%, 69%)
HSVhsv(265, 45%, 89%)
CMYKcmyk(26.3%, 44.7%, 0%, 10.6%)
CIE-LABlab(60.65, 36.70, -46.01)
CIE-LCHlch(60.65, 58.86, 308.58°)
OKLaboklab(67.57% 0.0789 -0.1288)
OKLCHoklch(67.57% 0.151 301.5)
XYZxyz(37.6098, 28.8479, 76.9706)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EE4 #BAE47E
analogous
#7E87E4 #A87EE4 #DB7EE4
triadic
#A87EE4 #E4A87E #7EE4A8
tetradic
#A87EE4 #E47E87 #BAE47E #7EE4DB
square
#A87EE4 #E47E87 #BAE47E #7EE4DB
split-complementary
#A87EE4 #E4DB7E #87E47E
monochromatic
#6628C0 #864BD9 #A87EE4 #CAB1EF #ECE3F9

Accessibility & contrast

On white

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

On black

6.77
#A87EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EE4
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EE4#FFFFFF#000000##000000
##A87EE41.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6192E8
Deuteranopia (green-blind)
#6B92E1
Tritanopia (blue-blind)
#9D90A6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87ee4;
/* rgb */ color: rgb(168, 126, 228);
/* oklch */ color: oklch(67.6% 0.151 301.5);
Tailwind
colors: {
  custom: {
    50: '#c4a4ed',
    500: '#a87ee4',
    950: '#000000',
  },
}
SCSS
$custom: #a87ee4;
$custom-light: #c4a4ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ee4",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 228
  },
  "hsl": {
    "h": 264.706,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67566,
    "c": 0.15104,
    "h": 301.5
  },
  "luminance": 0.28848
}

Semantic roles & 50–950 ramp

primary
#A87EE4
secondary
#E1EED0
accent
#CD1883
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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