#A87DEC#A87DEC

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

Color values

HEX#A87DEC
RGBrgb(168, 125, 236)
HSLhsl(263, 74%, 71%)
HSVhsv(263, 47%, 93%)
CMYKcmyk(28.8%, 47%, 0%, 7.5%)
CIE-LABlab(60.82, 39.19, -50.18)
CIE-LCHlch(60.82, 63.67, 307.99°)
OKLaboklab(67.83% 0.0813 -0.1409)
OKLCHoklch(67.83% 0.163 300)
XYZxyz(38.6189, 29.0480, 82.9129)
Luminance0.2905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DEC #C1EC7D
analogous
#7D89EC #A87DEC #DF7DEC
triadic
#A87DEC #ECA87D #7DECA8
tetradic
#A87DEC #EC7D89 #C1EC7D #7DECDF
square
#A87DEC #EC7D89 #C1EC7D #7DECDF
split-complementary
#A87DEC #ECDF7D #89EC7D
monochromatic
#631ED0 #8448E4 #A87DEC #CCB2F4 #EDE4FB

Accessibility & contrast

On white

3.08
#A87DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A87DEC#FFFFFF#000000##000000
##A87DEC1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92F0
Deuteranopia (green-blind)
#6592E9
Tritanopia (blue-blind)
#9B91A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87dec;
/* rgb */ color: rgb(168, 125, 236);
/* oklch */ color: oklch(67.8% 0.163 300.0);
Tailwind
colors: {
  custom: {
    50: '#c4a3f2',
    500: '#a87dec',
    950: '#000000',
  },
}
SCSS
$custom: #a87dec;
$custom-light: #c4a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a87dec",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 263.243,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.6783,
    "c": 0.1627,
    "h": 300
  },
  "luminance": 0.29048
}

Semantic roles & 50–950 ramp

primary
#A87DEC
secondary
#E6F1D3
accent
#D70F89
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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