#A87DCA#A87DCA

#A87DCA is a light, moderate violet. Relative luminance 0.273; OKLCH L 66.1% C 0.120 H 309.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A87DCA
RGBrgb(168, 125, 202)
HSLhsl(274, 42%, 64%)
HSVhsv(274, 38%, 79%)
CMYKcmyk(16.8%, 38.1%, 0%, 20.8%)
CIE-LABlab(59.21, 31.24, -33.68)
CIE-LCHlch(59.21, 45.94, 312.85°)
OKLaboklab(66.09% 0.0756 -0.0931)
OKLCHoklch(66.09% 0.12 309.1)
XYZxyz(34.1408, 27.2567, 59.3282)
Luminance0.2726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DCA #9FCA7D
analogous
#827DCA #A87DCA #CA7DC6
triadic
#A87DCA #CAA87D #7DCAA8
tetradic
#A87DCA #CA827D #9FCA7D #7DC6CA
square
#A87DCA #CA827D #9FCA7D #7DC6CA
split-complementary
#A87DCA #C6CA7D #7DCA82
monochromatic
#6B3B91 #8B52B8 #A87DCA #C5A8DC #E2D4ED

Accessibility & contrast

On white

3.26
#A87DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#A87DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DCA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DCA#FFFFFF#000000##000000
##A87DCA1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8DCD
Deuteranopia (green-blind)
#778FC8
Tritanopia (blue-blind)
#A4889A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a87dca;
/* rgb */ color: rgb(168, 125, 202);
/* oklch */ color: oklch(66.1% 0.120 309.1);
Tailwind
colors: {
  custom: {
    50: '#c3a3da',
    500: '#a87dca',
    950: '#000000',
  },
}
SCSS
$custom: #a87dca;
$custom-light: #c3a3da;
$custom-dark: #000000;
JSON
{
  "hex": "#a87dca",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 273.506,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66089,
    "c": 0.11997,
    "h": 309.1
  },
  "luminance": 0.27256
}

Semantic roles & 50–950 ramp

primary
#A87DCA
secondary
#D0DFC4
accent
#B5306B
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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