#A87BF3#A87BF3

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

Color values

HEX#A87BF3
RGBrgb(168, 123, 243)
HSLhsl(263, 83%, 72%)
HSVhsv(263, 49%, 95%)
CMYKcmyk(30.9%, 49.4%, 0%, 4.7%)
CIE-LABlab(60.75, 42.02, -54.18)
CIE-LCHlch(60.75, 68.56, 307.80°)
OKLaboklab(67.89% 0.0846 -0.1526)
OKLCHoklch(67.89% 0.175 299)
XYZxyz(39.4052, 28.9615, 88.2907)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BF3 #C6F37B
analogous
#7B8AF3 #A87BF3 #E47BF3
triadic
#A87BF3 #F3A87B #7BF3A8
tetradic
#A87BF3 #F37B8A #C6F37B #7BF3E4
square
#A87BF3 #F37B8A #C6F37B #7BF3E4
split-complementary
#A87BF3 #F3E47B #8AF37B
monochromatic
#6014DF #8343EE #A87BF3 #CDB3F8 #EDE3FC

Accessibility & contrast

On white

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

On black

6.79
#A87BF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BF3
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BF3#FFFFFF#000000##000000
##A87BF31.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5292F7
Deuteranopia (green-blind)
#5D92F0
Tritanopia (blue-blind)
#9892AC
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87bf3;
/* rgb */ color: rgb(168, 123, 243);
/* oklch */ color: oklch(67.9% 0.175 299.0);
Tailwind
colors: {
  custom: {
    50: '#c5a2f7',
    500: '#a87bf3',
    950: '#000000',
  },
}
SCSS
$custom: #a87bf3;
$custom-light: #c5a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bf3",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 243
  },
  "hsl": {
    "h": 262.5,
    "s": 83.333,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67892,
    "c": 0.17451,
    "h": 299
  },
  "luminance": 0.28962
}

Semantic roles & 50–950 ramp

primary
#A87BF3
secondary
#E9F4D6
accent
#E0068E
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BF3

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

Preview Lab → · Contrast checker → · Palette generator →

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