#A87BEC#A87BEC

#A87BEC is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.5% C 0.166 H 300.4°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A87BEC
RGBrgb(168, 123, 236)
HSLhsl(264, 75%, 70%)
HSVhsv(264, 48%, 93%)
CMYKcmyk(28.8%, 47.9%, 0%, 7.5%)
CIE-LABlab(60.38, 40.31, -50.88)
CIE-LCHlch(60.38, 64.91, 308.38°)
OKLaboklab(67.5% 0.0839 -0.143)
OKLCHoklch(67.5% 0.166 300.4)
XYZxyz(38.3682, 28.5467, 82.8293)
Luminance0.2855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BEC #BFEC7B
analogous
#7B86EC #A87BEC #E07BEC
triadic
#A87BEC #ECA87B #7BECA8
tetradic
#A87BEC #EC7B86 #BFEC7B #7BECE0
square
#A87BEC #EC7B86 #BFEC7B #7BECE0
split-complementary
#A87BEC #ECE07B #86EC7B
monochromatic
#641ECF #8546E4 #A87BEC #CBB0F4 #EDE4FB

Accessibility & contrast

On white

3.13
#A87BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A87BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BEC
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BEC#FFFFFF#000000##000000
##A87BEC1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F0
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#9B90A8
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87bec;
/* rgb */ color: rgb(168, 123, 236);
/* oklch */ color: oklch(67.5% 0.166 300.4);
Tailwind
colors: {
  custom: {
    50: '#c4a2f2',
    500: '#a87bec',
    950: '#000000',
  },
}
SCSS
$custom: #a87bec;
$custom-light: #c4a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bec",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 263.894,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67497,
    "c": 0.1658,
    "h": 300.4
  },
  "luminance": 0.28547
}

Semantic roles & 50–950 ramp

primary
#A87BEC
secondary
#E5F1D2
accent
#D70F87
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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