#A87FFD#A87FFD

#A87FFD is a light, vivid violet. Relative luminance 0.306; OKLCH L 69.1% C 0.181 H 296.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#A87FFD
RGBrgb(168, 127, 253)
HSLhsl(260, 97%, 75%)
HSVhsv(260, 50%, 99%)
CMYKcmyk(33.6%, 49.8%, 0%, 0.8%)
CIE-LABlab(62.16, 42.29, -57.43)
CIE-LCHlch(62.16, 71.32, 306.37°)
OKLaboklab(69.12% 0.0804 -0.1621)
OKLCHoklch(69.12% 0.181 296.4)
XYZxyz(41.4630, 30.5948, 96.6304)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FFD #D4FD7F
analogous
#7F95FD #A87FFD #E77FFD
triadic
#A87FFD #FDA87F #7FFDA8
tetradic
#A87FFD #FD7F95 #D4FD7F #7FFDE7
square
#A87FFD #FD7F95 #D4FD7F #7FFDE7
split-complementary
#A87FFD #FDE77F #95FD7F
monochromatic
#5606FB #7F43FC #A87FFD #D1BBFE #EBE1FF

Accessibility & contrast

On white

2.95
#A87FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#A87FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87FFD
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FFD#FFFFFF#000000##000000
##A87FFD1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#5A95FA
Tritanopia (blue-blind)
#9598B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a87ffd;
/* rgb */ color: rgb(168, 127, 253);
/* oklch */ color: oklch(69.1% 0.181 296.4);
Tailwind
colors: {
  custom: {
    50: '#c5a5ff',
    500: '#a87ffd',
    950: '#000000',
  },
}
SCSS
$custom: #a87ffd;
$custom-light: #c5a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ffd",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 259.524,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69121,
    "c": 0.18098,
    "h": 296.4
  },
  "luminance": 0.30595
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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