#A87EEC#A87EEC

#A87EEC is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.0% C 0.161 H 299.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A87EEC
RGBrgb(168, 126, 236)
HSLhsl(263, 74%, 71%)
HSVhsv(263, 47%, 93%)
CMYKcmyk(28.8%, 46.6%, 0%, 7.5%)
CIE-LABlab(61.05, 38.64, -49.83)
CIE-LCHlch(61.05, 63.05, 307.79°)
OKLaboklab(68% 0.0799 -0.1399)
OKLCHoklch(68% 0.161 299.7)
XYZxyz(38.7461, 29.3024, 82.9553)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87EEC #C2EC7E
analogous
#7E8BEC #A87EEC #DF7EEC
triadic
#A87EEC #ECA87E #7EECA8
tetradic
#A87EEC #EC7E8B #C2EC7E #7EECDF
square
#A87EEC #EC7E8B #C2EC7E #7EECDF
split-complementary
#A87EEC #ECDF7E #8BEC7E
monochromatic
#631FD1 #8449E4 #A87EEC #CCB3F4 #EDE4FB

Accessibility & contrast

On white

3.06
#A87EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#A87EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87EEC
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87EEC#FFFFFF#000000##000000
##A87EEC1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F0
Deuteranopia (green-blind)
#6693E9
Tritanopia (blue-blind)
#9B92AA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87eec;
/* rgb */ color: rgb(168, 126, 236);
/* oklch */ color: oklch(68.0% 0.161 299.7);
Tailwind
colors: {
  custom: {
    50: '#c4a4f2',
    500: '#a87eec',
    950: '#000000',
  },
}
SCSS
$custom: #a87eec;
$custom-light: #c4a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a87eec",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 262.909,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67997,
    "c": 0.16115,
    "h": 299.7
  },
  "luminance": 0.29303
}

Semantic roles & 50–950 ramp

primary
#A87EEC
secondary
#E6F2D4
accent
#D60F8A
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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