#A87ECC#A87ECC

#A87ECC is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.4% C 0.121 H 308.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A87ECC
RGBrgb(168, 126, 204)
HSLhsl(272, 43%, 65%)
HSVhsv(272, 38%, 80%)
CMYKcmyk(17.6%, 38.2%, 0%, 20%)
CIE-LABlab(59.53, 31.12, -34.31)
CIE-LCHlch(59.53, 46.32, 312.21°)
OKLaboklab(66.36% 0.0746 -0.095)
OKLCHoklch(66.36% 0.121 308.1)
XYZxyz(34.5063, 27.6065, 60.6258)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87ECC #A2CC7E
analogous
#817ECC #A87ECC #CC7EC9
triadic
#A87ECC #CCA87E #7ECCA8
tetradic
#A87ECC #CC817E #A2CC7E #7EC9CC
square
#A87ECC #CC817E #A2CC7E #7EC9CC
split-complementary
#A87ECC #C9CC7E #7ECC81
monochromatic
#6B3B95 #8A52BB #A87ECC #C6AADD #E3D6EF

Accessibility & contrast

On white

3.22
#A87ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A87ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87ECC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87ECC#FFFFFF#000000##000000
##A87ECC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8ECF
Deuteranopia (green-blind)
#7790CA
Tritanopia (blue-blind)
#A38A9B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87ecc;
/* rgb */ color: rgb(168, 126, 204);
/* oklch */ color: oklch(66.4% 0.121 308.1);
Tailwind
colors: {
  custom: {
    50: '#c3a4dc',
    500: '#a87ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a87ecc;
$custom-light: #c3a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ecc",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 272.308,
    "s": 43.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6636,
    "c": 0.12075,
    "h": 308.1
  },
  "luminance": 0.27606
}

Semantic roles & 50–950 ramp

primary
#A87ECC
secondary
#D2E0C6
accent
#B62F6E
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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