#A87BEF#A87BEF

#A87BEF is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.7% C 0.170 H 299.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A87BEF
RGBrgb(168, 123, 239)
HSLhsl(263, 78%, 71%)
HSVhsv(263, 49%, 94%)
CMYKcmyk(29.7%, 48.5%, 0%, 6.3%)
CIE-LABlab(60.54, 41.04, -52.30)
CIE-LCHlch(60.54, 66.48, 308.12°)
OKLaboklab(67.66% 0.0842 -0.1471)
OKLCHoklch(67.66% 0.17 299.8)
XYZxyz(38.8077, 28.7225, 85.1441)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BEF #C2EF7B
analogous
#7B88EF #A87BEF #E27BEF
triadic
#A87BEF #EFA87B #7BEFA8
tetradic
#A87BEF #EF7B88 #C2EF7B #7BEFE2
square
#A87BEF #EF7B88 #C2EF7B #7BEFE2
split-complementary
#A87BEF #EFE27B #88EF7B
monochromatic
#631AD6 #8444E8 #A87BEF #CCB2F6 #EDE4FC

Accessibility & contrast

On white

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

On black

6.74
#A87BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BEF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BEF#FFFFFF#000000##000000
##A87BEF1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#9A91AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87bef;
/* rgb */ color: rgb(168, 123, 239);
/* oklch */ color: oklch(67.7% 0.170 299.8);
Tailwind
colors: {
  custom: {
    50: '#c5a2f5',
    500: '#a87bef',
    950: '#000000',
  },
}
SCSS
$custom: #a87bef;
$custom-light: #c5a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bef",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 263.276,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67665,
    "c": 0.16954,
    "h": 299.8
  },
  "luminance": 0.28723
}

Semantic roles & 50–950 ramp

primary
#A87BEF
secondary
#E6F2D3
accent
#DB0B8A
background
#FCFAFF
surface
#F8F3FE
border
#D1CDD6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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