#A87EFF#A87EFF

#A87EFF is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.1% C 0.185 H 296.2°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A87EFF
RGBrgb(168, 126, 255)
HSLhsl(260, 100%, 75%)
HSVhsv(260, 51%, 100%)
CMYKcmyk(34.1%, 50.6%, 0%, 0%)
CIE-LABlab(62.05, 43.35, -58.71)
CIE-LCHlch(62.05, 72.98, 306.44°)
OKLaboklab(69.08% 0.0818 -0.1659)
OKLCHoklch(69.08% 0.185 296.2)
XYZxyz(41.6548, 30.4659, 98.2743)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EFF #D5FF7E
analogous
#7E95FF #A87EFF #E97EFF
triadic
#A87EFF #FFA87E #7EFFA8
tetradic
#A87EFF #FF7E95 #D5FF7E #7EFFE9
square
#A87EFF #FF7E95 #D5FF7E #7EFFE9
split-complementary
#A87EFF #FFE97E #95FF7E
monochromatic
#5504FF #7F41FF #A87EFF #D1BBFF #EAE0FF

Accessibility & contrast

On white

2.96
#A87EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#A87EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87EFF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EFF#FFFFFF#000000##000000
##A87EFF1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D97FF
Deuteranopia (green-blind)
#5794FC
Tritanopia (blue-blind)
#9497B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a87eff;
/* rgb */ color: rgb(168, 126, 255);
/* oklch */ color: oklch(69.1% 0.185 296.2);
Tailwind
colors: {
  custom: {
    50: '#c6a4ff',
    500: '#a87eff',
    950: '#000000',
  },
}
SCSS
$custom: #a87eff;
$custom-light: #c6a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a87eff",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 259.535,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69075,
    "c": 0.18494,
    "h": 296.2
  },
  "luminance": 0.30467
}

Semantic roles & 50–950 ramp

primary
#A87EFF
secondary
#ECF7D4
accent
#E6009B
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A87EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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