#A87FF1#A87FF1

#A87FF1 is a light, vivid violet. Relative luminance 0.299; OKLCH L 68.4% C 0.166 H 298.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A87FF1
RGBrgb(168, 127, 241)
HSLhsl(262, 80%, 72%)
HSVhsv(262, 47%, 95%)
CMYKcmyk(30.3%, 47.3%, 0%, 5.5%)
CIE-LABlab(61.53, 39.30, -51.83)
CIE-LCHlch(61.53, 65.05, 307.17°)
OKLaboklab(68.44% 0.0792 -0.1458)
OKLCHoklch(68.44% 0.166 298.5)
XYZxyz(39.6112, 29.8541, 86.8776)
Luminance0.2985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FF1 #C8F17F
analogous
#7F8FF1 #A87FF1 #E17FF1
triadic
#A87FF1 #F1A87F #7FF1A8
tetradic
#A87FF1 #F17F8F #C8F17F #7FF1E1
square
#A87FF1 #F17F8F #C8F17F #7FF1E1
split-complementary
#A87FF1 #F1E17F #8FF17F
monochromatic
#5F18DD #8348EB #A87FF1 #CDB6F7 #ECE3FC

Accessibility & contrast

On white

3.01
#A87FF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#A87FF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FF1
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FF1#FFFFFF#000000##000000
##A87FF11.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F5
Deuteranopia (green-blind)
#6394EE
Tritanopia (blue-blind)
#9994AD
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a87ff1;
/* rgb */ color: rgb(168, 127, 241);
/* oklch */ color: oklch(68.4% 0.166 298.5);
Tailwind
colors: {
  custom: {
    50: '#c5a5f6',
    500: '#a87ff1',
    950: '#000000',
  },
}
SCSS
$custom: #a87ff1;
$custom-light: #c5a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ff1",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 241
  },
  "hsl": {
    "h": 261.579,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.6844,
    "c": 0.16591,
    "h": 298.5
  },
  "luminance": 0.29854
}

Semantic roles & 50–950 ramp

primary
#A87FF1
secondary
#EAF4D7
accent
#DD0990
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87FF1

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

Preview Lab → · Contrast checker → · Palette generator →

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