#A87CD7#A87CD7

#A87CD7 is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.6% C 0.138 H 305.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A87CD7
RGBrgb(168, 124, 215)
HSLhsl(269, 53%, 66%)
HSVhsv(269, 42%, 84%)
CMYKcmyk(21.9%, 42.3%, 0%, 15.7%)
CIE-LABlab(59.57, 34.76, -40.44)
CIE-LCHlch(59.57, 53.33, 310.68°)
OKLaboklab(66.55% 0.0796 -0.1126)
OKLCHoklch(66.55% 0.138 305.2)
XYZxyz(35.6193, 27.6466, 67.7367)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CD7 #ABD77C
analogous
#7C7ED7 #A87CD7 #D67CD7
triadic
#A87CD7 #D7A87C #7CD7A8
tetradic
#A87CD7 #D77C7E #ABD77C #7CD7D6
square
#A87CD7 #D77C7E #ABD77C #7CD7D6
split-complementary
#A87CD7 #D7D67C #7ED77C
monochromatic
#6A33A6 #894DC9 #A87CD7 #C7ABE5 #E6DAF4

Accessibility & contrast

On white

3.22
#A87CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#A87CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CD7
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CD7#FFFFFF#000000##000000
##A87CD71.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#668EDA
Deuteranopia (green-blind)
#7090D5
Tritanopia (blue-blind)
#A18B9F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87cd7;
/* rgb */ color: rgb(168, 124, 215);
/* oklch */ color: oklch(66.6% 0.138 305.2);
Tailwind
colors: {
  custom: {
    50: '#c3a2e3',
    500: '#a87cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a87cd7;
$custom-light: #c3a2e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cd7",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 269.011,
    "s": 53.216,
    "l": 66.471
  },
  "oklch": {
    "l": 0.66551,
    "c": 0.13792,
    "h": 305.2
  },
  "luminance": 0.27646
}

Semantic roles & 50–950 ramp

primary
#A87CD7
secondary
#D8E6C9
accent
#C12575
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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