#A87AFA#A87AFA

#A87AFA is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.1% C 0.185 H 297.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A87AFA
RGBrgb(168, 122, 250)
HSLhsl(262, 93%, 73%)
HSVhsv(262, 51%, 98%)
CMYKcmyk(32.8%, 51.2%, 0%, 2%)
CIE-LABlab(60.91, 44.30, -57.78)
CIE-LCHlch(60.91, 72.81, 307.48°)
OKLaboklab(68.14% 0.0864 -0.1632)
OKLCHoklch(68.14% 0.185 297.9)
XYZxyz(40.3591, 29.1456, 93.9233)
Luminance0.2915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AFA #CCFA7A
analogous
#7A8CFA #A87AFA #E87AFA
triadic
#A87AFA #FAA87A #7AFAA8
tetradic
#A87AFA #FA7A8C #CCFA7A #7AFAE8
square
#A87AFA #FA7A8C #CCFA7A #7AFAE8
split-complementary
#A87AFA #FAE87A #8CFA7A
monochromatic
#5C09F1 #813FF8 #A87AFA #CFB5FC #ECE2FE

Accessibility & contrast

On white

3.08
#A87AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#A87AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AFA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AFA#FFFFFF#000000##000000
##A87AFA1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A93FE
Deuteranopia (green-blind)
#5692F7
Tritanopia (blue-blind)
#9693AF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87afa;
/* rgb */ color: rgb(168, 122, 250);
/* oklch */ color: oklch(68.1% 0.185 297.9);
Tailwind
colors: {
  custom: {
    50: '#c5a1fc',
    500: '#a87afa',
    950: '#000000',
  },
}
SCSS
$custom: #a87afa;
$custom-light: #c5a1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87afa",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 261.563,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.68135,
    "c": 0.18465,
    "h": 297.9
  },
  "luminance": 0.29146
}

Semantic roles & 50–950 ramp

primary
#A87AFA
secondary
#EAF6D5
accent
#E60093
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A87AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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