#A87AF9#A87AF9

#A87AF9 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.183 H 298.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A87AF9
RGBrgb(168, 122, 249)
HSLhsl(262, 91%, 73%)
HSVhsv(262, 51%, 98%)
CMYKcmyk(32.5%, 51%, 0%, 2.4%)
CIE-LABlab(60.85, 44.06, -57.32)
CIE-LCHlch(60.85, 72.29, 307.55°)
OKLaboklab(68.08% 0.0864 -0.1618)
OKLCHoklch(68.08% 0.183 298.1)
XYZxyz(40.2027, 29.0830, 93.0997)
Luminance0.2908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AF9 #CBF97A
analogous
#7A8CF9 #A87AF9 #E77AF9
triadic
#A87AF9 #F9A87A #7AF9A8
tetradic
#A87AF9 #F97A8C #CBF97A #7AF9E7
square
#A87AF9 #F97A8C #CBF97A #7AF9E7
split-complementary
#A87AF9 #F9E77A #8CF97A
monochromatic
#5D0BEE #823FF6 #A87AF9 #CEB5FC #ECE2FE

Accessibility & contrast

On white

3.08
#A87AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#A87AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AF9
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AF9#FFFFFF#000000##000000
##A87AF91.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FD
Deuteranopia (green-blind)
#5792F6
Tritanopia (blue-blind)
#9793AE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87af9;
/* rgb */ color: rgb(168, 122, 249);
/* oklch */ color: oklch(68.1% 0.183 298.1);
Tailwind
colors: {
  custom: {
    50: '#c5a1fc',
    500: '#a87af9',
    950: '#000000',
  },
}
SCSS
$custom: #a87af9;
$custom-light: #c5a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87af9",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 261.732,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68077,
    "c": 0.18342,
    "h": 298.1
  },
  "luminance": 0.29083
}

Semantic roles & 50–950 ramp

primary
#A87AF9
secondary
#EAF6D5
accent
#E60092
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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