#A87EBE#A87EBE

#A87EBE is a light, moderate violet. Relative luminance 0.270; OKLCH L 65.7% C 0.103 H 313.6°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A87EBE
RGBrgb(168, 126, 190)
HSLhsl(279, 33%, 62%)
HSVhsv(279, 34%, 75%)
CMYKcmyk(11.6%, 33.7%, 0%, 25.5%)
CIE-LABlab(58.94, 28.05, -27.30)
CIE-LCHlch(58.94, 39.14, 315.78°)
OKLaboklab(65.72% 0.0713 -0.0749)
OKLCHoklch(65.72% 0.103 313.6)
XYZxyz(32.9021, 26.9648, 52.1767)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EBE #94BE7E
analogous
#887EBE #A87EBE #BE7EB4
triadic
#A87EBE #BEA87E #7EBEA8
tetradic
#A87EBE #BE887E #94BE7E #7EB4BE
square
#A87EBE #BE887E #94BE7E #7EB4BE
split-complementary
#A87EBE #B4BE7E #7EBE88
monochromatic
#6B4181 #8D55A9 #A87EBE #C3A7D3 #DFCFE7

Accessibility & contrast

On white

3.28
#A87EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#A87EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EBE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EBE#FFFFFF#000000##000000
##A87EBE1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#748BC0
Deuteranopia (green-blind)
#7D8FBC
Tritanopia (blue-blind)
#A68695
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a87ebe;
/* rgb */ color: rgb(168, 126, 190);
/* oklch */ color: oklch(65.7% 0.103 313.6);
Tailwind
colors: {
  custom: {
    50: '#c2a4d1',
    500: '#a87ebe',
    950: '#000000',
  },
}
SCSS
$custom: #a87ebe;
$custom-light: #c2a4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ebe",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 190
  },
  "hsl": {
    "h": 279.375,
    "s": 32.99,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65719,
    "c": 0.10342,
    "h": 313.6
  },
  "luminance": 0.26964
}

Semantic roles & 50–950 ramp

primary
#A87EBE
secondary
#C8D8C0
accent
#AC3A61
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A87EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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