#A87AEF#A87AEF

#A87AEF is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.5% C 0.171 H 300.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A87AEF
RGBrgb(168, 122, 239)
HSLhsl(264, 79%, 71%)
HSVhsv(264, 49%, 94%)
CMYKcmyk(29.7%, 49%, 0%, 6.3%)
CIE-LABlab(60.32, 41.59, -52.65)
CIE-LCHlch(60.32, 67.10, 308.31°)
OKLaboklab(67.5% 0.0855 -0.1482)
OKLCHoklch(67.5% 0.171 300)
XYZxyz(38.6843, 28.4757, 85.1029)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AEF #C1EF7A
analogous
#7A86EF #A87AEF #E27AEF
triadic
#A87AEF #EFA87A #7AEFA8
tetradic
#A87AEF #EF7A86 #C1EF7A #7AEFE2
square
#A87AEF #EF7A86 #C1EF7A #7AEFE2
split-complementary
#A87AEF #EFE27A #86EF7A
monochromatic
#631AD5 #8443E8 #A87AEF #CCB1F6 #EDE4FC

Accessibility & contrast

On white

3.14
#A87AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#A87AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AEF
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AEF#FFFFFF#000000##000000
##A87AEF1.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#5F91EC
Tritanopia (blue-blind)
#9A90A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87aef;
/* rgb */ color: rgb(168, 122, 239);
/* oklch */ color: oklch(67.5% 0.171 300.0);
Tailwind
colors: {
  custom: {
    50: '#c5a1f5',
    500: '#a87aef',
    950: '#000000',
  },
}
SCSS
$custom: #a87aef;
$custom-light: #c5a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a87aef",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 263.59,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67501,
    "c": 0.17108,
    "h": 300
  },
  "luminance": 0.28476
}

Semantic roles & 50–950 ramp

primary
#A87AEF
secondary
#E6F2D3
accent
#DB0B89
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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