#A87FEE#A87FEE

#A87FEE is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.3% C 0.162 H 299.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#A87FEE
RGBrgb(168, 127, 238)
HSLhsl(262, 77%, 72%)
HSVhsv(262, 47%, 93%)
CMYKcmyk(29.4%, 46.6%, 0%, 6.7%)
CIE-LABlab(61.37, 38.57, -50.42)
CIE-LCHlch(61.37, 63.48, 307.41°)
OKLaboklab(68.27% 0.0789 -0.1416)
OKLCHoklch(68.27% 0.162 299.1)
XYZxyz(39.1668, 29.6763, 84.5370)
Luminance0.2968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FEE #C5EE7F
analogous
#7F8EEE #A87FEE #E07FEE
triadic
#A87FEE #EEA87F #7FEEA8
tetradic
#A87FEE #EE7F8E #C5EE7F #7FEEE0
square
#A87FEE #EE7F8E #C5EE7F #7FEEE0
split-complementary
#A87FEE #EEE07F #8EEE7F
monochromatic
#611CD6 #8349E7 #A87FEE #CDB5F5 #EDE4FB

Accessibility & contrast

On white

3.03
#A87FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#A87FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FEE
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FEE#FFFFFF#000000##000000
##A87FEE1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C94F2
Deuteranopia (green-blind)
#6693EB
Tritanopia (blue-blind)
#9A93AB
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87fee;
/* rgb */ color: rgb(168, 127, 238);
/* oklch */ color: oklch(68.3% 0.162 299.1);
Tailwind
colors: {
  custom: {
    50: '#c4a5f4',
    500: '#a87fee',
    950: '#000000',
  },
}
SCSS
$custom: #a87fee;
$custom-light: #c4a5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fee",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 262.162,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68275,
    "c": 0.16212,
    "h": 299.1
  },
  "luminance": 0.29677
}

Semantic roles & 50–950 ramp

primary
#A87FEE
secondary
#E8F3D6
accent
#D90D8D
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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