#A87EFD#A87EFD

#A87EFD is a light, vivid violet. Relative luminance 0.303; OKLCH L 69.0% C 0.182 H 296.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A87EFD
RGBrgb(168, 126, 253)
HSLhsl(260, 97%, 74%)
HSVhsv(260, 50%, 99%)
CMYKcmyk(33.6%, 50.2%, 0%, 0.8%)
CIE-LABlab(61.94, 42.85, -57.78)
CIE-LCHlch(61.94, 71.94, 306.56°)
OKLaboklab(68.96% 0.0816 -0.1632)
OKLCHoklch(68.96% 0.182 296.6)
XYZxyz(41.3345, 30.3378, 96.5875)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EFD #D3FD7E
analogous
#7E93FD #A87EFD #E87EFD
triadic
#A87EFD #FDA87E #7EFDA8
tetradic
#A87EFD #FD7E93 #D3FD7E #7EFDE8
square
#A87EFD #FD7E93 #D3FD7E #7EFDE8
split-complementary
#A87EFD #FDE87E #93FD7E
monochromatic
#5705FB #7F42FC #A87EFD #D1BAFE #EBE1FF

Accessibility & contrast

On white

2.97
#A87EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#A87EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87EFD
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EFD#FFFFFF#000000##000000
##A87EFD1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#5994FA
Tritanopia (blue-blind)
#9597B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a87efd;
/* rgb */ color: rgb(168, 126, 253);
/* oklch */ color: oklch(69.0% 0.182 296.6);
Tailwind
colors: {
  custom: {
    50: '#c5a4ff',
    500: '#a87efd',
    950: '#000000',
  },
}
SCSS
$custom: #a87efd;
$custom-light: #c5a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a87efd",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 259.843,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.68958,
    "c": 0.18245,
    "h": 296.6
  },
  "luminance": 0.30338
}

Semantic roles & 50–950 ramp

primary
#A87EFD
secondary
#EBF7D4
accent
#E6009A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A87EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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