#A87BE6#A87BE6

#A87BE6 is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.158 H 301.7°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A87BE6
RGBrgb(168, 123, 230)
HSLhsl(265, 68%, 69%)
HSVhsv(265, 47%, 90%)
CMYKcmyk(27%, 46.5%, 0%, 9.8%)
CIE-LABlab(60.07, 38.86, -48.04)
CIE-LCHlch(60.07, 61.78, 308.97°)
OKLaboklab(67.17% 0.0832 -0.1347)
OKLCHoklch(67.17% 0.158 301.7)
XYZxyz(37.5111, 28.2038, 78.3153)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BE6 #B9E67B
analogous
#7B84E6 #A87BE6 #DE7BE6
triadic
#A87BE6 #E6A87B #7BE6A8
tetradic
#A87BE6 #E67B84 #B9E67B #7BE6DE
square
#A87BE6 #E67B84 #B9E67B #7BE6DE
split-complementary
#A87BE6 #E6DE7B #84E67B
monochromatic
#6725C2 #8648DC #A87BE6 #CAAEF0 #ECE2F9

Accessibility & contrast

On white

3.16
#A87BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#A87BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BE6
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BE6#FFFFFF#000000##000000
##A87BE61.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90EA
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#9D8EA6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87be6;
/* rgb */ color: rgb(168, 123, 230);
/* oklch */ color: oklch(67.2% 0.158 301.7);
Tailwind
colors: {
  custom: {
    50: '#c4a2ee',
    500: '#a87be6',
    950: '#000000',
  },
}
SCSS
$custom: #a87be6;
$custom-light: #c4a2ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a87be6",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 230
  },
  "hsl": {
    "h": 265.234,
    "s": 68.153,
    "l": 69.216
  },
  "oklch": {
    "l": 0.67168,
    "c": 0.15832,
    "h": 301.7
  },
  "luminance": 0.28204
}

Semantic roles & 50–950 ramp

primary
#A87BE6
secondary
#E1EECF
accent
#D01582
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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