#A87FFC#A87FFC

#A87FFC is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.1% C 0.180 H 296.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#A87FFC
RGBrgb(168, 127, 252)
HSLhsl(260, 95%, 74%)
HSVhsv(260, 50%, 99%)
CMYKcmyk(33.3%, 49.6%, 0%, 1.2%)
CIE-LABlab(62.11, 42.04, -56.97)
CIE-LCHlch(62.11, 70.80, 306.43°)
OKLaboklab(69.06% 0.0803 -0.1608)
OKLCHoklch(69.06% 0.18 296.5)
XYZxyz(41.3041, 30.5313, 95.7936)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FFC #D3FC7F
analogous
#7F95FC #A87FFC #E77FFC
triadic
#A87FFC #FCA87F #7FFCA8
tetradic
#A87FFC #FC7F95 #D3FC7F #7FFCE7
square
#A87FFC #FC7F95 #D3FC7F #7FFCE7
split-complementary
#A87FFC #FCE77F #95FC7F
monochromatic
#5707F9 #7F43FB #A87FFC #D1BBFD #EBE1FE

Accessibility & contrast

On white

2.96
#A87FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#A87FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87FFC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FFC#FFFFFF#000000##000000
##A87FFC1.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#5B95F9
Tritanopia (blue-blind)
#9597B2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a87ffc;
/* rgb */ color: rgb(168, 127, 252);
/* oklch */ color: oklch(69.1% 0.180 296.5);
Tailwind
colors: {
  custom: {
    50: '#c5a5fe',
    500: '#a87ffc',
    950: '#000000',
  },
}
SCSS
$custom: #a87ffc;
$custom-light: #c5a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ffc",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 259.68,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.69063,
    "c": 0.17973,
    "h": 296.5
  },
  "luminance": 0.30532
}

Semantic roles & 50–950 ramp

primary
#A87FFC
secondary
#EBF7D4
accent
#E6009A
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F18
muted
#827F86

Preview Lab

Preview with #A87FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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