#A87EEA#A87EEA

#A87EEA is a light, vivid violet. Relative luminance 0.292; OKLCH L 67.9% C 0.159 H 300.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A87EEA
RGBrgb(168, 126, 234)
HSLhsl(263, 72%, 71%)
HSVhsv(263, 46%, 92%)
CMYKcmyk(28.2%, 46.2%, 0%, 8.2%)
CIE-LABlab(60.95, 38.15, -48.88)
CIE-LCHlch(60.95, 62.00, 307.97°)
OKLaboklab(67.89% 0.0797 -0.1371)
OKLCHoklch(67.89% 0.159 300.2)
XYZxyz(38.4572, 29.1869, 81.4335)
Luminance0.2919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EEA #C0EA7E
analogous
#7E8AEA #A87EEA #DE7EEA
triadic
#A87EEA #EAA87E #7EEAA8
tetradic
#A87EEA #EA7E8A #C0EA7E #7EEADE
square
#A87EEA #EA7E8A #C0EA7E #7EEADE
split-complementary
#A87EEA #EADE7E #8AEA7E
monochromatic
#6421CC #8549E1 #A87EEA #CBB3F3 #EDE5FB

Accessibility & contrast

On white

3.07
#A87EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#A87EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EEA
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EEA#FFFFFF#000000##000000
##A87EEA1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93EE
Deuteranopia (green-blind)
#6792E7
Tritanopia (blue-blind)
#9B91A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87eea;
/* rgb */ color: rgb(168, 126, 234);
/* oklch */ color: oklch(67.9% 0.159 300.2);
Tailwind
colors: {
  custom: {
    50: '#c4a4f1',
    500: '#a87eea',
    950: '#000000',
  },
}
SCSS
$custom: #a87eea;
$custom-light: #c4a4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a87eea",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 263.333,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67888,
    "c": 0.15863,
    "h": 300.2
  },
  "luminance": 0.29187
}

Semantic roles & 50–950 ramp

primary
#A87EEA
secondary
#E5F1D3
accent
#D41188
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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