#A87DD7#A87DD7

#A87DD7 is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.7% C 0.136 H 305.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A87DD7
RGBrgb(168, 125, 215)
HSLhsl(269, 53%, 67%)
HSVhsv(269, 42%, 84%)
CMYKcmyk(21.9%, 41.9%, 0%, 15.7%)
CIE-LABlab(59.80, 34.20, -40.08)
CIE-LCHlch(59.80, 52.69, 310.47°)
OKLaboklab(66.72% 0.0782 -0.1116)
OKLCHoklch(66.72% 0.136 305)
XYZxyz(35.7453, 27.8985, 67.7786)
Luminance0.2790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DD7 #ACD77D
analogous
#7D7FD7 #A87DD7 #D57DD7
triadic
#A87DD7 #D7A87D #7DD7A8
tetradic
#A87DD7 #D77D7F #ACD77D #7DD7D5
square
#A87DD7 #D77D7F #ACD77D #7DD7D5
split-complementary
#A87DD7 #D7D57D #7FD77D
monochromatic
#6A33A6 #894EC9 #A87DD7 #C7ACE5 #E7DBF4

Accessibility & contrast

On white

3.19
#A87DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#A87DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DD7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DD7#FFFFFF#000000##000000
##A87DD71.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#678FDA
Deuteranopia (green-blind)
#7190D5
Tritanopia (blue-blind)
#A18CA0
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a87dd7;
/* rgb */ color: rgb(168, 125, 215);
/* oklch */ color: oklch(66.7% 0.136 305.0);
Tailwind
colors: {
  custom: {
    50: '#c3a3e3',
    500: '#a87dd7',
    950: '#000000',
  },
}
SCSS
$custom: #a87dd7;
$custom-light: #c3a3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87dd7",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 215
  },
  "hsl": {
    "h": 268.667,
    "s": 52.941,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66723,
    "c": 0.13627,
    "h": 305
  },
  "luminance": 0.27898
}

Semantic roles & 50–950 ramp

primary
#A87DD7
secondary
#D9E6C9
accent
#C02576
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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