#A87BEA#A87BEA

#A87BEA is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.4% C 0.163 H 300.8°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A87BEA
RGBrgb(168, 123, 234)
HSLhsl(264, 73%, 70%)
HSVhsv(264, 47%, 92%)
CMYKcmyk(28.2%, 47.4%, 0%, 8.2%)
CIE-LABlab(60.28, 39.82, -49.94)
CIE-LCHlch(60.28, 63.87, 308.57°)
OKLaboklab(67.39% 0.0837 -0.1402)
OKLCHoklch(67.39% 0.163 300.8)
XYZxyz(38.0793, 28.4311, 81.3076)
Luminance0.2843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BEA #BDEA7B
analogous
#7B86EA #A87BEA #DF7BEA
triadic
#A87BEA #EAA87B #7BEAA8
tetradic
#A87BEA #EA7B86 #BDEA7B #7BEADF
square
#A87BEA #EA7B86 #BDEA7B #7BEADF
split-complementary
#A87BEA #EADF7B #86EA7B
monochromatic
#6520CA #8546E2 #A87BEA #CBB0F2 #EEE5FB

Accessibility & contrast

On white

3.14
#A87BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#A87BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BEA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BEA#FFFFFF#000000##000000
##A87BEA1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#6491E7
Tritanopia (blue-blind)
#9B8FA7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87bea;
/* rgb */ color: rgb(168, 123, 234);
/* oklch */ color: oklch(67.4% 0.163 300.8);
Tailwind
colors: {
  custom: {
    50: '#c4a2f1',
    500: '#a87bea',
    950: '#000000',
  },
}
SCSS
$custom: #a87bea;
$custom-light: #c4a2f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bea",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 264.324,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.67387,
    "c": 0.16331,
    "h": 300.8
  },
  "luminance": 0.28431
}

Semantic roles & 50–950 ramp

primary
#A87BEA
secondary
#E3F0D1
accent
#D51185
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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