#A87FFE#A87FFE

#A87FFE is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.182 H 296.2°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A87FFE
RGBrgb(168, 127, 254)
HSLhsl(259, 98%, 75%)
HSVhsv(259, 50%, 100%)
CMYKcmyk(33.9%, 50%, 0%, 0.4%)
CIE-LABlab(62.22, 42.55, -57.89)
CIE-LCHlch(62.22, 71.85, 306.31°)
OKLaboklab(69.18% 0.0805 -0.1635)
OKLCHoklch(69.18% 0.182 296.2)
XYZxyz(41.6227, 30.6587, 97.4715)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FFE #D5FE7F
analogous
#7F96FE #A87FFE #E87FFE
triadic
#A87FFE #FEA87F #7FFEA8
tetradic
#A87FFE #FE7F96 #D5FE7F #7FFEE8
square
#A87FFE #FE7F96 #D5FE7F #7FFEE8
split-complementary
#A87FFE #FEE87F #96FE7F
monochromatic
#5506FD #7F42FE #A87FFE #D1BCFE #EAE1FF

Accessibility & contrast

On white

2.94
#A87FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#A87FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87FFE
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FFE#FFFFFF#000000##000000
##A87FFE1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5097FF
Deuteranopia (green-blind)
#5995FB
Tritanopia (blue-blind)
#9498B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a87ffe;
/* rgb */ color: rgb(168, 127, 254);
/* oklch */ color: oklch(69.2% 0.182 296.2);
Tailwind
colors: {
  custom: {
    50: '#c5a5ff',
    500: '#a87ffe',
    950: '#000000',
  },
}
SCSS
$custom: #a87ffe;
$custom-light: #c5a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ffe",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 259.37,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.69179,
    "c": 0.18223,
    "h": 296.2
  },
  "luminance": 0.30659
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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