#A87EF7#A87EF7

#A87EF7 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.175 H 297.6°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#A87EF7
RGBrgb(168, 126, 247)
HSLhsl(261, 88%, 73%)
HSVhsv(261, 49%, 97%)
CMYKcmyk(32%, 49%, 0%, 3.1%)
CIE-LABlab(61.62, 41.35, -55.00)
CIE-LCHlch(61.62, 68.80, 306.94°)
OKLaboklab(68.61% 0.0811 -0.155)
OKLCHoklch(68.61% 0.175 297.6)
XYZxyz(40.3937, 29.9615, 91.6327)
Luminance0.2996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EF7 #CDF77E
analogous
#7E90F7 #A87EF7 #E47EF7
triadic
#A87EF7 #F7A87E #7EF7A8
tetradic
#A87EF7 #F77E90 #CDF77E #7EF7E4
square
#A87EF7 #F77E90 #CDF77E #7EF7E4
split-complementary
#A87EF7 #F7E47E #90F77E
monochromatic
#5B0FEC #8144F3 #A87EF7 #CFB8FB #ECE2FD

Accessibility & contrast

On white

3.00
#A87EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#A87EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EF7
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EF7#FFFFFF#000000##000000
##A87EF71.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5495FB
Deuteranopia (green-blind)
#5E94F4
Tritanopia (blue-blind)
#9795AF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a87ef7;
/* rgb */ color: rgb(168, 126, 247);
/* oklch */ color: oklch(68.6% 0.175 297.6);
Tailwind
colors: {
  custom: {
    50: '#c5a4fa',
    500: '#a87ef7',
    950: '#000000',
  },
}
SCSS
$custom: #a87ef7;
$custom-light: #c5a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ef7",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 260.826,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68612,
    "c": 0.17497,
    "h": 297.6
  },
  "luminance": 0.29962
}

Semantic roles & 50–950 ramp

primary
#A87EF7
secondary
#EAF5D6
accent
#E50196
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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