#A87FF0#A87FF0

#A87FF0 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.4% C 0.165 H 298.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A87FF0
RGBrgb(168, 127, 240)
HSLhsl(262, 79%, 72%)
HSVhsv(262, 47%, 94%)
CMYKcmyk(30%, 47.1%, 0%, 5.9%)
CIE-LABlab(61.48, 39.06, -51.36)
CIE-LCHlch(61.48, 64.52, 307.25°)
OKLaboklab(68.38% 0.0791 -0.1444)
OKLCHoklch(68.38% 0.165 298.7)
XYZxyz(39.4623, 29.7945, 86.0931)
Luminance0.2979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FF0 #C7F07F
analogous
#7F8FF0 #A87FF0 #E17FF0
triadic
#A87FF0 #F0A87F #7FF0A8
tetradic
#A87FF0 #F07F8F #C7F07F #7FF0E1
square
#A87FF0 #F07F8F #C7F07F #7FF0E1
split-complementary
#A87FF0 #F0E17F #8FF07F
monochromatic
#601ADB #8348EA #A87FF0 #CDB6F6 #ECE4FC

Accessibility & contrast

On white

3.02
#A87FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#A87FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FF0
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FF0#FFFFFF#000000##000000
##A87FF01.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B94F4
Deuteranopia (green-blind)
#6493ED
Tritanopia (blue-blind)
#9994AC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87ff0;
/* rgb */ color: rgb(168, 127, 240);
/* oklch */ color: oklch(68.4% 0.165 298.7);
Tailwind
colors: {
  custom: {
    50: '#c5a5f5',
    500: '#a87ff0',
    950: '#000000',
  },
}
SCSS
$custom: #a87ff0;
$custom-light: #c5a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ff0",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 240
  },
  "hsl": {
    "h": 261.77,
    "s": 79.021,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68385,
    "c": 0.16465,
    "h": 298.7
  },
  "luminance": 0.29795
}

Semantic roles & 50–950 ramp

primary
#A87FF0
secondary
#E9F4D7
accent
#DB0A8F
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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