#A87AF0#A87AF0

#A87AF0 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.6% C 0.172 H 299.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A87AF0
RGBrgb(168, 122, 240)
HSLhsl(263, 80%, 71%)
HSVhsv(263, 49%, 94%)
CMYKcmyk(30%, 49.2%, 0%, 5.9%)
CIE-LABlab(60.37, 41.84, -53.12)
CIE-LCHlch(60.37, 67.62, 308.22°)
OKLaboklab(67.56% 0.0856 -0.1495)
OKLCHoklch(67.56% 0.172 299.8)
XYZxyz(38.8325, 28.5349, 85.8831)
Luminance0.2853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AF0 #C2F07A
analogous
#7A87F0 #A87AF0 #E37AF0
triadic
#A87AF0 #F0A87A #7AF0A8
tetradic
#A87AF0 #F07A87 #C2F07A #7AF0E3
square
#A87AF0 #F07A87 #C2F07A #7AF0E3
split-complementary
#A87AF0 #F0E37A #87F07A
monochromatic
#6318D7 #8443EA #A87AF0 #CCB1F6 #EDE4FC

Accessibility & contrast

On white

3.13
#A87AF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A87AF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AF0
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AF0#FFFFFF#000000##000000
##A87AF01.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F4
Deuteranopia (green-blind)
#5E91ED
Tritanopia (blue-blind)
#9A90AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87af0;
/* rgb */ color: rgb(168, 122, 240);
/* oklch */ color: oklch(67.6% 0.172 299.8);
Tailwind
colors: {
  custom: {
    50: '#c5a1f5',
    500: '#a87af0',
    950: '#000000',
  },
}
SCSS
$custom: #a87af0;
$custom-light: #c5a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a87af0",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 263.39,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67558,
    "c": 0.17231,
    "h": 299.8
  },
  "luminance": 0.28535
}

Semantic roles & 50–950 ramp

primary
#A87AF0
secondary
#E6F3D3
accent
#DC098A
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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