#A87CF5#A87CF5

#A87CF5 is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.175 H 298.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#A87CF5
RGBrgb(168, 124, 245)
HSLhsl(262, 86%, 72%)
HSVhsv(262, 49%, 96%)
CMYKcmyk(31.4%, 49.4%, 0%, 3.9%)
CIE-LABlab(61.07, 41.96, -54.76)
CIE-LCHlch(61.07, 68.99, 307.46°)
OKLaboklab(68.17% 0.0835 -0.1543)
OKLCHoklch(68.17% 0.175 298.4)
XYZxyz(39.8336, 29.3323, 89.9316)
Luminance0.2933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CF5 #C9F57C
analogous
#7C8DF5 #A87CF5 #E47CF5
triadic
#A87CF5 #F5A87C #7CF5A8
tetradic
#A87CF5 #F57C8D #C9F57C #7CF5E4
square
#A87CF5 #F57C8D #C9F57C #7CF5E4
split-complementary
#A87CF5 #F5E47C #8DF57C
monochromatic
#5E11E5 #8243F1 #A87CF5 #CEB5F9 #ECE3FD

Accessibility & contrast

On white

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

On black

6.87
#A87CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CF5
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CF5#FFFFFF#000000##000000
##A87CF51.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5293F9
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#9893AD
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87cf5;
/* rgb */ color: rgb(168, 124, 245);
/* oklch */ color: oklch(68.2% 0.175 298.4);
Tailwind
colors: {
  custom: {
    50: '#c5a3f9',
    500: '#a87cf5',
    950: '#000000',
  },
}
SCSS
$custom: #a87cf5;
$custom-light: #c5a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cf5",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 261.818,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68169,
    "c": 0.17548,
    "h": 298.4
  },
  "luminance": 0.29333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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