#A87BF1#A87BF1

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

Color values

HEX#A87BF1
RGBrgb(168, 123, 241)
HSLhsl(263, 81%, 71%)
HSVhsv(263, 49%, 95%)
CMYKcmyk(30.3%, 49%, 0%, 5.5%)
CIE-LABlab(60.64, 41.53, -53.24)
CIE-LCHlch(60.64, 67.52, 307.95°)
OKLaboklab(67.78% 0.0844 -0.1499)
OKLCHoklch(67.78% 0.172 299.4)
XYZxyz(39.1048, 28.8413, 86.7088)
Luminance0.2884 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BF1 #C4F17B
analogous
#7B89F1 #A87BF1 #E37BF1
triadic
#A87BF1 #F1A87B #7BF1A8
tetradic
#A87BF1 #F17B89 #C4F17B #7BF1E3
square
#A87BF1 #F17B89 #C4F17B #7BF1E3
split-complementary
#A87BF1 #F1E37B #89F17B
monochromatic
#6217DA #8444EB #A87BF1 #CCB2F7 #EDE3FC

Accessibility & contrast

On white

3.10
#A87BF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A87BF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BF1
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BF1#FFFFFF#000000##000000
##A87BF11.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F5
Deuteranopia (green-blind)
#5F91EE
Tritanopia (blue-blind)
#9991AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87bf1;
/* rgb */ color: rgb(168, 123, 241);
/* oklch */ color: oklch(67.8% 0.172 299.4);
Tailwind
colors: {
  custom: {
    50: '#c5a2f6',
    500: '#a87bf1',
    950: '#000000',
  },
}
SCSS
$custom: #a87bf1;
$custom-light: #c5a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bf1",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 262.881,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67778,
    "c": 0.17202,
    "h": 299.4
  },
  "luminance": 0.28842
}

Semantic roles & 50–950 ramp

primary
#A87BF1
secondary
#E8F3D5
accent
#DD088C
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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