#A87AEA#A87AEA

#A87AEA is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.165 H 301.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A87AEA
RGBrgb(168, 122, 234)
HSLhsl(265, 73%, 70%)
HSVhsv(265, 48%, 92%)
CMYKcmyk(28.2%, 47.9%, 0%, 8.2%)
CIE-LABlab(60.05, 40.38, -50.29)
CIE-LCHlch(60.05, 64.49, 308.76°)
OKLaboklab(67.22% 0.085 -0.1413)
OKLCHoklch(67.22% 0.165 301)
XYZxyz(37.9559, 28.1843, 81.2664)
Luminance0.2818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AEA #BCEA7A
analogous
#7A84EA #A87AEA #E07AEA
triadic
#A87AEA #EAA87A #7AEAA8
tetradic
#A87AEA #EA7A84 #BCEA7A #7AEAE0
square
#A87AEA #EA7A84 #BCEA7A #7AEAE0
split-complementary
#A87AEA #EAE07A #84EA7A
monochromatic
#6620CA #8545E2 #A87AEA #CBAFF2 #EDE4FB

Accessibility & contrast

On white

3.16
#A87AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#A87AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AEA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AEA#FFFFFF#000000##000000
##A87AEA1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#6390E7
Tritanopia (blue-blind)
#9B8EA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87aea;
/* rgb */ color: rgb(168, 122, 234);
/* oklch */ color: oklch(67.2% 0.165 301.0);
Tailwind
colors: {
  custom: {
    50: '#c4a1f1',
    500: '#a87aea',
    950: '#000000',
  },
}
SCSS
$custom: #a87aea;
$custom-light: #c4a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a87aea",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 264.643,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67221,
    "c": 0.16487,
    "h": 301
  },
  "luminance": 0.28184
}

Semantic roles & 50–950 ramp

primary
#A87AEA
secondary
#E3F0D0
accent
#D51184
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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