#A87EEE#A87EEE

#A87EEE is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.1% C 0.164 H 299.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A87EEE
RGBrgb(168, 126, 238)
HSLhsl(263, 77%, 71%)
HSVhsv(263, 47%, 93%)
CMYKcmyk(29.4%, 47.1%, 0%, 6.7%)
CIE-LABlab(61.15, 39.12, -50.77)
CIE-LCHlch(61.15, 64.10, 307.62°)
OKLaboklab(68.11% 0.0802 -0.1427)
OKLCHoklch(68.11% 0.164 299.3)
XYZxyz(39.0383, 29.4193, 84.4941)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EEE #C4EE7E
analogous
#7E8CEE #A87EEE #E07EEE
triadic
#A87EEE #EEA87E #7EEEA8
tetradic
#A87EEE #EE7E8C #C4EE7E #7EEEE0
square
#A87EEE #EE7E8C #C4EE7E #7EEEE0
split-complementary
#A87EEE #EEE07E #8CEE7E
monochromatic
#621CD5 #8448E7 #A87EEE #CCB4F5 #EDE4FB

Accessibility & contrast

On white

3.05
#A87EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#A87EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EEE
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EEE#FFFFFF#000000##000000
##A87EEE1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F2
Deuteranopia (green-blind)
#6493EB
Tritanopia (blue-blind)
#9A93AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87eee;
/* rgb */ color: rgb(168, 126, 238);
/* oklch */ color: oklch(68.1% 0.164 299.3);
Tailwind
colors: {
  custom: {
    50: '#c4a4f4',
    500: '#a87eee',
    950: '#000000',
  },
}
SCSS
$custom: #a87eee;
$custom-light: #c4a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a87eee",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 262.5,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68107,
    "c": 0.16367,
    "h": 299.3
  },
  "luminance": 0.2942
}

Semantic roles & 50–950 ramp

primary
#A87EEE
secondary
#E8F2D5
accent
#D90D8C
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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