#A87CF4#A87CF4

#A87CF4 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.1% C 0.174 H 298.6°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#A87CF4
RGBrgb(168, 124, 244)
HSLhsl(262, 85%, 72%)
HSVhsv(262, 49%, 96%)
CMYKcmyk(31.1%, 49.2%, 0%, 4.3%)
CIE-LABlab(61.02, 41.71, -54.30)
CIE-LCHlch(61.02, 68.47, 307.53°)
OKLaboklab(68.11% 0.0834 -0.153)
OKLCHoklch(68.11% 0.174 298.6)
XYZxyz(39.6813, 29.2714, 89.1298)
Luminance0.2927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CF4 #C8F47C
analogous
#7C8CF4 #A87CF4 #E47CF4
triadic
#A87CF4 #F4A87C #7CF4A8
tetradic
#A87CF4 #F47C8C #C8F47C #7CF4E4
square
#A87CF4 #F47C8C #C8F47C #7CF4E4
split-complementary
#A87CF4 #F4E47C #8CF47C
monochromatic
#5F13E3 #8344EF #A87CF4 #CDB4F9 #ECE3FD

Accessibility & contrast

On white

3.06
#A87CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#A87CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CF4
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CF4#FFFFFF#000000##000000
##A87CF41.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5393F8
Deuteranopia (green-blind)
#5E92F1
Tritanopia (blue-blind)
#9893AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87cf4;
/* rgb */ color: rgb(168, 124, 244);
/* oklch */ color: oklch(68.1% 0.174 298.6);
Tailwind
colors: {
  custom: {
    50: '#c5a3f8',
    500: '#a87cf4',
    950: '#000000',
  },
}
SCSS
$custom: #a87cf4;
$custom-light: #c5a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cf4",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 262,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68112,
    "c": 0.17423,
    "h": 298.6
  },
  "luminance": 0.29272
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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