#A87BF2#A87BF2

#A87BF2 is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.8% C 0.173 H 299.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A87BF2
RGBrgb(168, 123, 242)
HSLhsl(263, 82%, 72%)
HSVhsv(263, 49%, 95%)
CMYKcmyk(30.6%, 49.2%, 0%, 5.1%)
CIE-LABlab(60.69, 41.77, -53.71)
CIE-LCHlch(60.69, 68.04, 307.87°)
OKLaboklab(67.84% 0.0845 -0.1513)
OKLCHoklch(67.84% 0.173 299.2)
XYZxyz(39.2546, 28.9012, 87.4976)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BF2 #C5F27B
analogous
#7B8AF2 #A87BF2 #E47BF2
triadic
#A87BF2 #F2A87B #7BF2A8
tetradic
#A87BF2 #F27B8A #C5F27B #7BF2E4
square
#A87BF2 #F27B8A #C5F27B #7BF2E4
split-complementary
#A87BF2 #F2E47B #8AF27B
monochromatic
#6116DD #8343ED #A87BF2 #CDB3F7 #EDE3FC

Accessibility & contrast

On white

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

On black

6.78
#A87BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BF2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BF2#FFFFFF#000000##000000
##A87BF21.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#9991AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87bf2;
/* rgb */ color: rgb(168, 123, 242);
/* oklch */ color: oklch(67.8% 0.173 299.2);
Tailwind
colors: {
  custom: {
    50: '#c5a2f7',
    500: '#a87bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a87bf2;
$custom-light: #c5a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bf2",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 262.689,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67835,
    "c": 0.17327,
    "h": 299.2
  },
  "luminance": 0.28902
}

Semantic roles & 50–950 ramp

primary
#A87BF2
secondary
#E8F4D5
accent
#DE078D
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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