#A87CEC#A87CEC

#A87CEC is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.7% C 0.164 H 300.2°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A87CEC
RGBrgb(168, 124, 236)
HSLhsl(264, 75%, 71%)
HSVhsv(264, 47%, 93%)
CMYKcmyk(28.8%, 47.5%, 0%, 7.5%)
CIE-LABlab(60.60, 39.75, -50.53)
CIE-LCHlch(60.60, 64.29, 308.19°)
OKLaboklab(67.66% 0.0826 -0.142)
OKLCHoklch(67.66% 0.164 300.2)
XYZxyz(38.4929, 28.7961, 82.8709)
Luminance0.2880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CEC #C0EC7C
analogous
#7C88EC #A87CEC #E07CEC
triadic
#A87CEC #ECA87C #7CECA8
tetradic
#A87CEC #EC7C88 #C0EC7C #7CECE0
square
#A87CEC #EC7C88 #C0EC7C #7CECE0
split-complementary
#A87CEC #ECE07C #88EC7C
monochromatic
#641ED0 #8547E4 #A87CEC #CBB1F4 #EDE4FB

Accessibility & contrast

On white

3.11
#A87CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#A87CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CEC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CEC#FFFFFF#000000##000000
##A87CEC1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#9B90A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87cec;
/* rgb */ color: rgb(168, 124, 236);
/* oklch */ color: oklch(67.7% 0.164 300.2);
Tailwind
colors: {
  custom: {
    50: '#c4a3f2',
    500: '#a87cec',
    950: '#000000',
  },
}
SCSS
$custom: #a87cec;
$custom-light: #c4a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cec",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 236
  },
  "hsl": {
    "h": 263.571,
    "s": 74.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67663,
    "c": 0.16425,
    "h": 300.2
  },
  "luminance": 0.28796
}

Semantic roles & 50–950 ramp

primary
#A87CEC
secondary
#E5F1D3
accent
#D70F88
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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