#A87BEE#A87BEE

#A87BEE is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.6% C 0.168 H 300.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#A87BEE
RGBrgb(168, 123, 238)
HSLhsl(263, 77%, 71%)
HSVhsv(263, 48%, 93%)
CMYKcmyk(29.4%, 48.3%, 0%, 6.7%)
CIE-LABlab(60.48, 40.79, -51.83)
CIE-LCHlch(60.48, 65.96, 308.21°)
OKLaboklab(67.61% 0.0841 -0.1458)
OKLCHoklch(67.61% 0.168 300)
XYZxyz(38.6604, 28.6636, 84.3682)
Luminance0.2866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BEE #C1EE7B
analogous
#7B87EE #A87BEE #E17BEE
triadic
#A87BEE #EEA87B #7BEEA8
tetradic
#A87BEE #EE7B87 #C1EE7B #7BEEE1
square
#A87BEE #EE7B87 #C1EE7B #7BEEE1
split-complementary
#A87BEE #EEE17B #87EE7B
monochromatic
#631BD3 #8445E7 #A87BEE #CCB1F5 #EDE4FC

Accessibility & contrast

On white

3.12
#A87BEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#A87BEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BEE
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BEE#FFFFFF#000000##000000
##A87BEE1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F2
Deuteranopia (green-blind)
#6191EB
Tritanopia (blue-blind)
#9A90A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87bee;
/* rgb */ color: rgb(168, 123, 238);
/* oklch */ color: oklch(67.6% 0.168 300.0);
Tailwind
colors: {
  custom: {
    50: '#c5a2f4',
    500: '#a87bee',
    950: '#000000',
  },
}
SCSS
$custom: #a87bee;
$custom-light: #c5a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bee",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 263.478,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67609,
    "c": 0.16829,
    "h": 300
  },
  "luminance": 0.28664
}

Semantic roles & 50–950 ramp

primary
#A87BEE
secondary
#E6F2D3
accent
#D90C89
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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