#A87BF4#A87BF4

#A87BF4 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.176 H 298.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A87BF4
RGBrgb(168, 123, 244)
HSLhsl(262, 85%, 72%)
HSVhsv(262, 50%, 96%)
CMYKcmyk(31.1%, 49.6%, 0%, 4.3%)
CIE-LABlab(60.80, 42.27, -54.65)
CIE-LCHlch(60.80, 69.08, 307.72°)
OKLaboklab(67.95% 0.0847 -0.154)
OKLCHoklch(67.95% 0.176 298.8)
XYZxyz(39.5566, 29.0220, 89.0882)
Luminance0.2902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BF4 #C7F47B
analogous
#7B8BF4 #A87BF4 #E47BF4
triadic
#A87BF4 #F4A87B #7BF4A8
tetradic
#A87BF4 #F47B8B #C7F47B #7BF4E4
square
#A87BF4 #F47B8B #C7F47B #7BF4E4
split-complementary
#A87BF4 #F4E47B #8BF47B
monochromatic
#6013E2 #8343EF #A87BF4 #CDB3F9 #ECE3FD

Accessibility & contrast

On white

3.09
#A87BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#A87BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BF4
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BF4#FFFFFF#000000##000000
##A87BF41.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5193F8
Deuteranopia (green-blind)
#5C92F1
Tritanopia (blue-blind)
#9892AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87bf4;
/* rgb */ color: rgb(168, 123, 244);
/* oklch */ color: oklch(67.9% 0.176 298.8);
Tailwind
colors: {
  custom: {
    50: '#c5a2f8',
    500: '#a87bf4',
    950: '#000000',
  },
}
SCSS
$custom: #a87bf4;
$custom-light: #c5a2f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bf4",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 244
  },
  "hsl": {
    "h": 262.314,
    "s": 84.615,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67949,
    "c": 0.17575,
    "h": 298.8
  },
  "luminance": 0.29022
}

Semantic roles & 50–950 ramp

primary
#A87BF4
secondary
#E9F5D6
accent
#E1048F
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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