#A87DE2#A87DE2

#A87DE2 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.3% C 0.150 H 302.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A87DE2
RGBrgb(168, 125, 226)
HSLhsl(266, 64%, 69%)
HSVhsv(266, 45%, 89%)
CMYKcmyk(25.7%, 44.7%, 0%, 11.4%)
CIE-LABlab(60.32, 36.78, -45.41)
CIE-LCHlch(60.32, 58.44, 309.01°)
OKLaboklab(67.29% 0.0799 -0.1271)
OKLCHoklch(67.29% 0.15 302.2)
XYZxyz(37.2065, 28.4830, 75.4744)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DE2 #B7E27D
analogous
#7D85E2 #A87DE2 #DB7DE2
triadic
#A87DE2 #E2A87D #7DE2A8
tetradic
#A87DE2 #E27D85 #B7E27D #7DE2DB
square
#A87DE2 #E27D85 #B7E27D #7DE2DB
split-complementary
#A87DE2 #E2DB7D #85E27D
monochromatic
#682ABB #874BD7 #A87DE2 #C9AFED #EBE1F8

Accessibility & contrast

On white

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

On black

6.70
#A87DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DE2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DE2#FFFFFF#000000##000000
##A87DE21.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6191E6
Deuteranopia (green-blind)
#6B91DF
Tritanopia (blue-blind)
#9E8EA5
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87de2;
/* rgb */ color: rgb(168, 125, 226);
/* oklch */ color: oklch(67.3% 0.150 302.2);
Tailwind
colors: {
  custom: {
    50: '#c4a3eb',
    500: '#a87de2',
    950: '#000000',
  },
}
SCSS
$custom: #a87de2;
$custom-light: #c4a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a87de2",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 226
  },
  "hsl": {
    "h": 265.545,
    "s": 63.522,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67291,
    "c": 0.15012,
    "h": 302.2
  },
  "luminance": 0.28483
}

Semantic roles & 50–950 ramp

primary
#A87DE2
secondary
#E0ECCE
accent
#CB1A80
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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