#A87BF0#A87BF0

#A87BF0 is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.7% C 0.171 H 299.6°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A87BF0
RGBrgb(168, 123, 240)
HSLhsl(263, 80%, 71%)
HSVhsv(263, 49%, 94%)
CMYKcmyk(30%, 48.7%, 0%, 5.9%)
CIE-LABlab(60.59, 41.28, -52.77)
CIE-LCHlch(60.59, 67.00, 308.04°)
OKLaboklab(67.72% 0.0843 -0.1485)
OKLCHoklch(67.72% 0.171 299.6)
XYZxyz(38.9559, 28.7817, 85.9243)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BF0 #C3F07B
analogous
#7B88F0 #A87BF0 #E27BF0
triadic
#A87BF0 #F0A87B #7BF0A8
tetradic
#A87BF0 #F07B88 #C3F07B #7BF0E2
square
#A87BF0 #F07B88 #C3F07B #7BF0E2
split-complementary
#A87BF0 #F0E27B #88F07B
monochromatic
#6219D8 #8444EA #A87BF0 #CCB2F6 #EDE4FC

Accessibility & contrast

On white

3.11
#A87BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A87BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BF0
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BF0#FFFFFF#000000##000000
##A87BF01.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5492F4
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#9991AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87bf0;
/* rgb */ color: rgb(168, 123, 240);
/* oklch */ color: oklch(67.7% 0.171 299.6);
Tailwind
colors: {
  custom: {
    50: '#c5a2f5',
    500: '#a87bf0',
    950: '#000000',
  },
}
SCSS
$custom: #a87bf0;
$custom-light: #c5a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bf0",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 240
  },
  "hsl": {
    "h": 263.077,
    "s": 79.592,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67721,
    "c": 0.17078,
    "h": 299.6
  },
  "luminance": 0.28782
}

Semantic roles & 50–950 ramp

primary
#A87BF0
secondary
#E7F3D4
accent
#DC0A8B
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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