#A87EF0#A87EF0

#A87EF0 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.2% C 0.166 H 298.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#A87EF0
RGBrgb(168, 126, 240)
HSLhsl(262, 79%, 72%)
HSVhsv(262, 48%, 94%)
CMYKcmyk(30%, 47.5%, 0%, 5.9%)
CIE-LABlab(61.25, 39.61, -51.72)
CIE-LCHlch(61.25, 65.14, 307.45°)
OKLaboklab(68.22% 0.0804 -0.1454)
OKLCHoklch(68.22% 0.166 298.9)
XYZxyz(39.3337, 29.5375, 86.0502)
Luminance0.2954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EF0 #C6F07E
analogous
#7E8DF0 #A87EF0 #E17EF0
triadic
#A87EF0 #F0A87E #7EF0A8
tetradic
#A87EF0 #F07E8D #C6F07E #7EF0E1
square
#A87EF0 #F07E8D #C6F07E #7EF0E1
split-complementary
#A87EF0 #F0E17E #8DF07E
monochromatic
#6019DA #8347EA #A87EF0 #CDB5F6 #EDE4FC

Accessibility & contrast

On white

3.04
#A87EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#A87EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EF0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EF0#FFFFFF#000000##000000
##A87EF01.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5994F4
Deuteranopia (green-blind)
#6393ED
Tritanopia (blue-blind)
#9993AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87ef0;
/* rgb */ color: rgb(168, 126, 240);
/* oklch */ color: oklch(68.2% 0.166 298.9);
Tailwind
colors: {
  custom: {
    50: '#c5a4f5',
    500: '#a87ef0',
    950: '#000000',
  },
}
SCSS
$custom: #a87ef0;
$custom-light: #c5a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ef0",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 240
  },
  "hsl": {
    "h": 262.105,
    "s": 79.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68218,
    "c": 0.16618,
    "h": 298.9
  },
  "luminance": 0.29538
}

Semantic roles & 50–950 ramp

primary
#A87EF0
secondary
#E9F3D6
accent
#DB0A8E
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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