#A87ECA#A87ECA

#A87ECA is a light, moderate violet. Relative luminance 0.275; OKLCH L 66.3% C 0.118 H 308.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A87ECA
RGBrgb(168, 126, 202)
HSLhsl(273, 42%, 64%)
HSVhsv(273, 38%, 79%)
CMYKcmyk(16.8%, 37.6%, 0%, 20.8%)
CIE-LABlab(59.44, 30.67, -33.32)
CIE-LCHlch(59.44, 45.29, 312.64°)
OKLaboklab(66.27% 0.0742 -0.0921)
OKLCHoklch(66.27% 0.118 308.8)
XYZxyz(34.2680, 27.5112, 59.3706)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87ECA #A0CA7E
analogous
#827ECA #A87ECA #CA7EC6
triadic
#A87ECA #CAA87E #7ECAA8
tetradic
#A87ECA #CA827E #A0CA7E #7EC6CA
square
#A87ECA #CA827E #A0CA7E #7EC6CA
split-complementary
#A87ECA #C6CA7E #7ECA82
monochromatic
#6B3C92 #8B53B8 #A87ECA #C5A9DC #E3D5EE

Accessibility & contrast

On white

3.23
#A87ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#A87ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87ECA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87ECA#FFFFFF#000000##000000
##A87ECA1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8DCD
Deuteranopia (green-blind)
#7890C8
Tritanopia (blue-blind)
#A4899B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87eca;
/* rgb */ color: rgb(168, 126, 202);
/* oklch */ color: oklch(66.3% 0.118 308.8);
Tailwind
colors: {
  custom: {
    50: '#c3a4da',
    500: '#a87eca',
    950: '#000000',
  },
}
SCSS
$custom: #a87eca;
$custom-light: #c3a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#a87eca",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 202
  },
  "hsl": {
    "h": 273.158,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66266,
    "c": 0.11825,
    "h": 308.8
  },
  "luminance": 0.27511
}

Semantic roles & 50–950 ramp

primary
#A87ECA
secondary
#D1DFC5
accent
#B5316C
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#120F15
muted
#817F83

Preview Lab

Preview with #A87ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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