#A87ECE#A87ECE

#A87ECE is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.5% C 0.123 H 307.5°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A87ECE
RGBrgb(168, 126, 206)
HSLhsl(272, 45%, 65%)
HSVhsv(272, 39%, 81%)
CMYKcmyk(18.4%, 38.8%, 0%, 19.2%)
CIE-LABlab(59.62, 31.57, -35.30)
CIE-LCHlch(59.62, 47.36, 311.81°)
OKLaboklab(66.46% 0.075 -0.0978)
OKLCHoklch(66.46% 0.123 307.5)
XYZxyz(34.7477, 27.7031, 61.8972)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87ECE #A4CE7E
analogous
#807ECE #A87ECE #CE7ECC
triadic
#A87ECE #CEA87E #7ECEA8
tetradic
#A87ECE #CE807E #A4CE7E #7ECCCE
square
#A87ECE #CE807E #A4CE7E #7ECCCE
split-complementary
#A87ECE #CCCE7E #7ECE80
monochromatic
#6B3A98 #8A52BD #A87ECE #C6AADF #E4D7F0

Accessibility & contrast

On white

3.21
#A87ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#A87ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87ECE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87ECE#FFFFFF#000000##000000
##A87ECE1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED1
Deuteranopia (green-blind)
#7690CC
Tritanopia (blue-blind)
#A38A9C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a87ece;
/* rgb */ color: rgb(168, 126, 206);
/* oklch */ color: oklch(66.5% 0.123 307.5);
Tailwind
colors: {
  custom: {
    50: '#c3a4dd',
    500: '#a87ece',
    950: '#000000',
  },
}
SCSS
$custom: #a87ece;
$custom-light: #c3a4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ece",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 206
  },
  "hsl": {
    "h": 271.5,
    "s": 44.944,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66456,
    "c": 0.12325,
    "h": 307.5
  },
  "luminance": 0.27703
}

Semantic roles & 50–950 ramp

primary
#A87ECE
secondary
#D3E1C6
accent
#B82D6F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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