#A87BF6#A87BF6

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

Color values

HEX#A87BF6
RGBrgb(168, 123, 246)
HSLhsl(262, 87%, 72%)
HSVhsv(262, 50%, 96%)
CMYKcmyk(31.7%, 50%, 0%, 3.5%)
CIE-LABlab(60.91, 42.76, -55.58)
CIE-LCHlch(60.91, 70.12, 307.57°)
OKLaboklab(68.06% 0.0849 -0.1567)
OKLCHoklch(68.06% 0.178 298.4)
XYZxyz(39.8619, 29.1442, 90.6962)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BF6 #C9F67B
analogous
#7B8CF6 #A87BF6 #E57BF6
triadic
#A87BF6 #F6A87B #7BF6A8
tetradic
#A87BF6 #F67B8C #C9F67B #7BF6E5
square
#A87BF6 #F67B8C #C9F67B #7BF6E5
split-complementary
#A87BF6 #F6E57B #8CF67B
monochromatic
#5E10E7 #8242F2 #A87BF6 #CEB4FA #ECE2FD

Accessibility & contrast

On white

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

On black

6.83
#A87BF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BF6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BF6#FFFFFF#000000##000000
##A87BF61.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5093FA
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#9793AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87bf6;
/* rgb */ color: rgb(168, 123, 246);
/* oklch */ color: oklch(68.1% 0.178 298.4);
Tailwind
colors: {
  custom: {
    50: '#c5a2fa',
    500: '#a87bf6',
    950: '#000000',
  },
}
SCSS
$custom: #a87bf6;
$custom-light: #c5a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bf6",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 261.951,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68064,
    "c": 0.17822,
    "h": 298.4
  },
  "luminance": 0.29145
}

Semantic roles & 50–950 ramp

primary
#A87BF6
secondary
#EAF5D6
accent
#E40291
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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