#A87AEC#A87AEC

#A87AEC is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.3% C 0.167 H 300.6°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A87AEC
RGBrgb(168, 122, 236)
HSLhsl(264, 75%, 70%)
HSVhsv(264, 48%, 93%)
CMYKcmyk(28.8%, 48.3%, 0%, 7.5%)
CIE-LABlab(60.16, 40.86, -51.24)
CIE-LCHlch(60.16, 65.53, 308.57°)
OKLaboklab(67.33% 0.0852 -0.144)
OKLCHoklch(67.33% 0.167 300.6)
XYZxyz(38.2448, 28.2999, 82.7882)
Luminance0.2830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87AEC #BEEC7A
analogous
#7A85EC #A87AEC #E17AEC
triadic
#A87AEC #ECA87A #7AECA8
tetradic
#A87AEC #EC7A85 #BEEC7A #7AECE1
square
#A87AEC #EC7A85 #BEEC7A #7AECE1
split-complementary
#A87AEC #ECE17A #85EC7A
monochromatic
#651DCE #8544E4 #A87AEC #CBB0F4 #EDE4FB

Accessibility & contrast

On white

3.15
#A87AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#A87AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87AEC
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87AEC#FFFFFF#000000##000000
##A87AEC1.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F0
Deuteranopia (green-blind)
#6190E9
Tritanopia (blue-blind)
#9B8FA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87aec;
/* rgb */ color: rgb(168, 122, 236);
/* oklch */ color: oklch(67.3% 0.167 300.6);
Tailwind
colors: {
  custom: {
    50: '#c5a1f3',
    500: '#a87aec',
    950: '#000000',
  },
}
SCSS
$custom: #a87aec;
$custom-light: #c5a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87aec",
  "rgb": {
    "r": 168,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 264.211,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.67333,
    "c": 0.16736,
    "h": 300.6
  },
  "luminance": 0.283
}

Semantic roles & 50–950 ramp

primary
#A87AEC
secondary
#E4F1D1
accent
#D70E86
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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