#A87FDA#A87FDA

#A87FDA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.2% C 0.137 H 303.7°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A87FDA
RGBrgb(168, 127, 218)
HSLhsl(267, 55%, 68%)
HSVhsv(267, 42%, 85%)
CMYKcmyk(22.9%, 41.7%, 0%, 14.5%)
CIE-LABlab(60.40, 33.77, -40.82)
CIE-LCHlch(60.40, 52.98, 309.60°)
OKLaboklab(67.22% 0.0759 -0.1138)
OKLCHoklch(67.22% 0.137 303.7)
XYZxyz(36.3900, 28.5656, 69.9127)
Luminance0.2857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FDA #B1DA7F
analogous
#7F83DA #A87FDA #D67FDA
triadic
#A87FDA #DAA87F #7FDAA8
tetradic
#A87FDA #DA7F83 #B1DA7F #7FDAD6
square
#A87FDA #DA7F83 #B1DA7F #7FDAD6
split-complementary
#A87FDA #DAD67F #83DA7F
monochromatic
#6932AD #8850CC #A87FDA #C8AEE8 #E9DEF5

Accessibility & contrast

On white

3.13
#A87FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#A87FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FDA
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FDA#FFFFFF#000000##000000
##A87FDA1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DD
Deuteranopia (green-blind)
#7192D8
Tritanopia (blue-blind)
#A08EA2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87fda;
/* rgb */ color: rgb(168, 127, 218);
/* oklch */ color: oklch(67.2% 0.137 303.7);
Tailwind
colors: {
  custom: {
    50: '#c3a4e6',
    500: '#a87fda',
    950: '#000000',
  },
}
SCSS
$custom: #a87fda;
$custom-light: #c3a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fda",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 267.033,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.67221,
    "c": 0.13675,
    "h": 303.7
  },
  "luminance": 0.28566
}

Semantic roles & 50–950 ramp

primary
#A87FDA
secondary
#DCE9CC
accent
#C3237B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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