#A87DF0#A87DF0

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

Color values

HEX#A87DF0
RGBrgb(168, 125, 240)
HSLhsl(262, 79%, 72%)
HSVhsv(262, 48%, 94%)
CMYKcmyk(30%, 47.9%, 0%, 5.9%)
CIE-LABlab(61.03, 40.17, -52.07)
CIE-LCHlch(61.03, 65.76, 307.65°)
OKLaboklab(68.05% 0.0817 -0.1465)
OKLCHoklch(68.05% 0.168 299.2)
XYZxyz(39.2065, 29.2830, 86.0078)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DF0 #C5F07D
analogous
#7D8CF0 #A87DF0 #E27DF0
triadic
#A87DF0 #F0A87D #7DF0A8
tetradic
#A87DF0 #F07D8C #C5F07D #7DF0E2
square
#A87DF0 #F07D8C #C5F07D #7DF0E2
split-complementary
#A87DF0 #F0E27D #8CF07D
monochromatic
#6119DA #8346EA #A87DF0 #CDB4F6 #EDE4FC

Accessibility & contrast

On white

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

On black

6.86
#A87DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DF0
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DF0#FFFFFF#000000##000000
##A87DF01.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a87df0;
/* rgb */ color: rgb(168, 125, 240);
/* oklch */ color: oklch(68.1% 0.168 299.2);
Tailwind
colors: {
  custom: {
    50: '#c5a3f5',
    500: '#a87df0',
    950: '#000000',
  },
}
SCSS
$custom: #a87df0;
$custom-light: #c5a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a87df0",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 240
  },
  "hsl": {
    "h": 262.435,
    "s": 79.31,
    "l": 71.569
  },
  "oklch": {
    "l": 0.68051,
    "c": 0.16772,
    "h": 299.2
  },
  "luminance": 0.29283
}

Semantic roles & 50–950 ramp

primary
#A87DF0
secondary
#E8F3D6
accent
#DC0A8D
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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