#A87FFA#A87FFA

#A87FFA is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.177 H 296.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A87FFA
RGBrgb(168, 127, 250)
HSLhsl(260, 92%, 74%)
HSVhsv(260, 49%, 98%)
CMYKcmyk(32.8%, 49.2%, 0%, 2%)
CIE-LABlab(62.00, 41.54, -56.04)
CIE-LCHlch(62.00, 69.76, 306.55°)
OKLaboklab(68.95% 0.0801 -0.1581)
OKLCHoklch(68.95% 0.177 296.9)
XYZxyz(40.9889, 30.4052, 94.1332)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FFA #D1FA7F
analogous
#7F94FA #A87FFA #E67FFA
triadic
#A87FFA #FAA87F #7FFAA8
tetradic
#A87FFA #FA7F94 #D1FA7F #7FFAE6
square
#A87FFA #FA7F94 #D1FA7F #7FFAE6
split-complementary
#A87FFA #FAE67F #94FA7F
monochromatic
#580AF5 #8044F8 #A87FFA #D0BAFC #EBE2FE

Accessibility & contrast

On white

2.97
#A87FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#A87FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87FFA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FFA#FFFFFF#000000##000000
##A87FFA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5396FE
Deuteranopia (green-blind)
#5D94F7
Tritanopia (blue-blind)
#9697B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a87ffa;
/* rgb */ color: rgb(168, 127, 250);
/* oklch */ color: oklch(68.9% 0.177 296.9);
Tailwind
colors: {
  custom: {
    50: '#c5a5fc',
    500: '#a87ffa',
    950: '#000000',
  },
}
SCSS
$custom: #a87ffa;
$custom-light: #c5a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ffa",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 260,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.68948,
    "c": 0.17723,
    "h": 296.9
  },
  "luminance": 0.30406
}

Semantic roles & 50–950 ramp

primary
#A87FFA
secondary
#EBF6D5
accent
#E60099
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A87FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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