#A87AEB#A87AEB

#A87AEB is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.3% C 0.166 H 300.8°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#A87AEB
RGBrgb(168, 122, 235)
HSLhsl(264, 74%, 70%)
HSVhsv(264, 48%, 92%)
CMYKcmyk(28.5%, 48.1%, 0%, 7.8%)
CIE-LABlab(60.11, 40.62, -50.76)
CIE-LCHlch(60.11, 65.01, 308.67°)
OKLaboklab(67.28% 0.0851 -0.1426)
OKLCHoklch(67.28% 0.166 300.8)
XYZxyz(38.0999, 28.2419, 82.0252)
Luminance0.2824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AEB #BDEB7A
analogous
#7A84EB #A87AEB #E17AEB
triadic
#A87AEB #EBA87A #7AEBA8
tetradic
#A87AEB #EB7A84 #BDEB7A #7AEBE1
square
#A87AEB #EB7A84 #BDEB7A #7AEBE1
split-complementary
#A87AEB #EBE17A #84EB7A
monochromatic
#651FCC #8545E3 #A87AEB #CBAFF3 #EEE4FB

Accessibility & contrast

On white

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

On black

6.65
#A87AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AEB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AEB#FFFFFF#000000##000000
##A87AEB1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EF
Deuteranopia (green-blind)
#6290E8
Tritanopia (blue-blind)
#9B8FA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87aeb;
/* rgb */ color: rgb(168, 122, 235);
/* oklch */ color: oklch(67.3% 0.166 300.8);
Tailwind
colors: {
  custom: {
    50: '#c4a1f2',
    500: '#a87aeb',
    950: '#000000',
  },
}
SCSS
$custom: #a87aeb;
$custom-light: #c4a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a87aeb",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 264.425,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.67277,
    "c": 0.16611,
    "h": 300.8
  },
  "luminance": 0.28242
}

Semantic roles & 50–950 ramp

primary
#A87AEB
secondary
#E3F0D1
accent
#D61085
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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