#A87FF4#A87FF4

#A87FF4 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.6% C 0.170 H 298.0°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#A87FF4
RGBrgb(168, 127, 244)
HSLhsl(261, 84%, 73%)
HSVhsv(261, 48%, 96%)
CMYKcmyk(31.1%, 48%, 0%, 4.3%)
CIE-LABlab(61.68, 40.05, -53.24)
CIE-LCHlch(61.68, 66.62, 306.95°)
OKLaboklab(68.61% 0.0796 -0.1499)
OKLCHoklch(68.61% 0.17 298)
XYZxyz(40.0630, 30.0348, 89.2570)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FF4 #CBF47F
analogous
#7F90F4 #A87FF4 #E37FF4
triadic
#A87FF4 #F4A87F #7FF4A8
tetradic
#A87FF4 #F47F90 #CBF47F #7FF4E3
square
#A87FF4 #F47F90 #CBF47F #7FF4E3
split-complementary
#A87FF4 #F4E37F #90F47F
monochromatic
#5D14E5 #8247EF #A87FF4 #CEB7F9 #ECE3FD

Accessibility & contrast

On white

3.00
#A87FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#A87FF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A87FF4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FF4#FFFFFF#000000##000000
##A87FF41.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5895F8
Deuteranopia (green-blind)
#6194F1
Tritanopia (blue-blind)
#9895AE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #a87ff4;
/* rgb */ color: rgb(168, 127, 244);
/* oklch */ color: oklch(68.6% 0.170 298.0);
Tailwind
colors: {
  custom: {
    50: '#c5a5f8',
    500: '#a87ff4',
    950: '#000000',
  },
}
SCSS
$custom: #a87ff4;
$custom-light: #c5a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ff4",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 244
  },
  "hsl": {
    "h": 261.026,
    "s": 84.173,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68608,
    "c": 0.16969,
    "h": 298
  },
  "luminance": 0.30035
}

Semantic roles & 50–950 ramp

primary
#A87FF4
secondary
#EAF5D6
accent
#E10594
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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