#A87AF4#A87AF4

#A87AF4 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.8% C 0.177 H 299.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A87AF4
RGBrgb(168, 122, 244)
HSLhsl(263, 85%, 72%)
HSVhsv(263, 50%, 96%)
CMYKcmyk(31.1%, 50%, 0%, 4.3%)
CIE-LABlab(60.58, 42.82, -54.99)
CIE-LCHlch(60.58, 69.70, 307.90°)
OKLaboklab(67.79% 0.086 -0.155)
OKLCHoklch(67.79% 0.177 299)
XYZxyz(39.4332, 28.7752, 89.0471)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AF4 #C6F47A
analogous
#7A89F4 #A87AF4 #E57AF4
triadic
#A87AF4 #F4A87A #7AF4A8
tetradic
#A87AF4 #F47A89 #C6F47A #7AF4E5
square
#A87AF4 #F47A89 #C6F47A #7AF4E5
split-complementary
#A87AF4 #F4E57A #89F47A
monochromatic
#6013E1 #8341EF #A87AF4 #CDB3F9 #EDE3FD

Accessibility & contrast

On white

3.11
#A87AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A87AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AF4
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AF4#FFFFFF#000000##000000
##A87AF41.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F8
Deuteranopia (green-blind)
#5B91F1
Tritanopia (blue-blind)
#9891AC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87af4;
/* rgb */ color: rgb(168, 122, 244);
/* oklch */ color: oklch(67.8% 0.177 299.0);
Tailwind
colors: {
  custom: {
    50: '#c5a1f8',
    500: '#a87af4',
    950: '#000000',
  },
}
SCSS
$custom: #a87af4;
$custom-light: #c5a1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a87af4",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 262.623,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67786,
    "c": 0.17726,
    "h": 299
  },
  "luminance": 0.28776
}

Semantic roles & 50–950 ramp

primary
#A87AF4
secondary
#E9F4D5
accent
#E1048E
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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