#A87AF3#A87AF3

#A87AF3 is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.176 H 299.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A87AF3
RGBrgb(168, 122, 243)
HSLhsl(263, 83%, 72%)
HSVhsv(263, 50%, 95%)
CMYKcmyk(30.9%, 49.8%, 0%, 4.7%)
CIE-LABlab(60.53, 42.57, -54.53)
CIE-LCHlch(60.53, 69.18, 307.98°)
OKLaboklab(67.73% 0.0859 -0.1536)
OKLCHoklch(67.73% 0.176 299.2)
XYZxyz(39.2818, 28.7146, 88.2496)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AF3 #C5F37A
analogous
#7A89F3 #A87AF3 #E57AF3
triadic
#A87AF3 #F3A87A #7AF3A8
tetradic
#A87AF3 #F37A89 #C5F37A #7AF3E5
square
#A87AF3 #F37A89 #C5F37A #7AF3E5
split-complementary
#A87AF3 #F3E57A #89F37A
monochromatic
#6114DF #8342EE #A87AF3 #CDB2F8 #EDE3FC

Accessibility & contrast

On white

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

On black

6.74
#A87AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AF3
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AF3#FFFFFF#000000##000000
##A87AF31.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F7
Deuteranopia (green-blind)
#5C91F0
Tritanopia (blue-blind)
#9991AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87af3;
/* rgb */ color: rgb(168, 122, 243);
/* oklch */ color: oklch(67.7% 0.176 299.2);
Tailwind
colors: {
  custom: {
    50: '#c5a1f7',
    500: '#a87af3',
    950: '#000000',
  },
}
SCSS
$custom: #a87af3;
$custom-light: #c5a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a87af3",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 243
  },
  "hsl": {
    "h": 262.81,
    "s": 83.448,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67729,
    "c": 0.17602,
    "h": 299.2
  },
  "luminance": 0.28715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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