#A87CF0#A87CF0

#A87CF0 is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.9% C 0.169 H 299.4°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A87CF0
RGBrgb(168, 124, 240)
HSLhsl(263, 79%, 71%)
HSVhsv(263, 48%, 94%)
CMYKcmyk(30%, 48.3%, 0%, 5.9%)
CIE-LABlab(60.81, 40.73, -52.42)
CIE-LCHlch(60.81, 66.38, 307.85°)
OKLaboklab(67.89% 0.083 -0.1475)
OKLCHoklch(67.89% 0.169 299.4)
XYZxyz(39.0806, 29.0311, 85.9658)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CF0 #C4F07C
analogous
#7C8AF0 #A87CF0 #E27CF0
triadic
#A87CF0 #F0A87C #7CF0A8
tetradic
#A87CF0 #F07C8A #C4F07C #7CF0E2
square
#A87CF0 #F07C8A #C4F07C #7CF0E2
split-complementary
#A87CF0 #F0E27C #8AF07C
monochromatic
#6219D9 #8445EA #A87CF0 #CCB3F6 #EDE4FC

Accessibility & contrast

On white

3.09
#A87CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#A87CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CF0
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CF0#FFFFFF#000000##000000
##A87CF01.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5693F4
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#9992AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87cf0;
/* rgb */ color: rgb(168, 124, 240);
/* oklch */ color: oklch(67.9% 0.169 299.4);
Tailwind
colors: {
  custom: {
    50: '#c5a3f5',
    500: '#a87cf0',
    950: '#000000',
  },
}
SCSS
$custom: #a87cf0;
$custom-light: #c5a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cf0",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 240
  },
  "hsl": {
    "h": 262.759,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67886,
    "c": 0.16925,
    "h": 299.4
  },
  "luminance": 0.29031
}

Semantic roles & 50–950 ramp

primary
#A87CF0
secondary
#E8F3D5
accent
#DC0A8C
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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