#A87AF7#A87AF7

#A87AF7 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.0% C 0.181 H 298.5°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#A87AF7
RGBrgb(168, 122, 247)
HSLhsl(262, 89%, 72%)
HSVhsv(262, 51%, 97%)
CMYKcmyk(32%, 50.6%, 0%, 3.1%)
CIE-LABlab(60.75, 43.56, -56.39)
CIE-LCHlch(60.75, 71.26, 307.68°)
OKLaboklab(67.96% 0.0862 -0.1591)
OKLCHoklch(67.96% 0.181 298.5)
XYZxyz(39.8924, 28.9589, 91.4656)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AF7 #C9F77A
analogous
#7A8BF7 #A87AF7 #E67AF7
triadic
#A87AF7 #F7A87A #7AF7A8
tetradic
#A87AF7 #F77A8B #C9F77A #7AF7E6
square
#A87AF7 #F77A8B #C9F77A #7AF7E6
split-complementary
#A87AF7 #F7E67A #8BF77A
monochromatic
#5E0EE9 #8240F4 #A87AF7 #CEB4FA #ECE2FD

Accessibility & contrast

On white

3.09
#A87AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#A87AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AF7
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AF7#FFFFFF#000000##000000
##A87AF71.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FB
Deuteranopia (green-blind)
#5991F4
Tritanopia (blue-blind)
#9792AD
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87af7;
/* rgb */ color: rgb(168, 122, 247);
/* oklch */ color: oklch(68.0% 0.181 298.5);
Tailwind
colors: {
  custom: {
    50: '#c5a1fa',
    500: '#a87af7',
    950: '#000000',
  },
}
SCSS
$custom: #a87af7;
$custom-light: #c5a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a87af7",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 262.08,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.6796,
    "c": 0.18096,
    "h": 298.5
  },
  "luminance": 0.28959
}

Semantic roles & 50–950 ramp

primary
#A87AF7
secondary
#EAF5D6
accent
#E50091
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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