#A87FD2#A87FD2

#A87FD2 is a light, vivid violet. Relative luminance 0.282; OKLCH L 66.8% C 0.127 H 306.0°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A87FD2
RGBrgb(168, 127, 210)
HSLhsl(270, 48%, 66%)
HSVhsv(270, 40%, 82%)
CMYKcmyk(20%, 39.5%, 0%, 17.6%)
CIE-LABlab(60.03, 31.92, -36.91)
CIE-LCHlch(60.03, 48.80, 310.85°)
OKLaboklab(66.83% 0.0744 -0.1024)
OKLCHoklch(66.83% 0.127 306)
XYZxyz(35.3684, 28.1569, 64.5319)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FD2 #A9D27F
analogous
#7F7FD2 #A87FD2 #D27FD2
triadic
#A87FD2 #D2A87F #7FD2A8
tetradic
#A87FD2 #D27F7F #A9D27F #7FD2D2
square
#A87FD2 #D27F7F #A9D27F #7FD2D2
split-complementary
#A87FD2 #D2D27F #7FD27F
monochromatic
#6B389F #8952C2 #A87FD2 #C7ACE2 #E6DAF2

Accessibility & contrast

On white

3.17
#A87FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#A87FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FD2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FD2#FFFFFF#000000##000000
##A87FD21.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8FD5
Deuteranopia (green-blind)
#7691D0
Tritanopia (blue-blind)
#A28C9F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87fd2;
/* rgb */ color: rgb(168, 127, 210);
/* oklch */ color: oklch(66.8% 0.127 306.0);
Tailwind
colors: {
  custom: {
    50: '#c3a4e0',
    500: '#a87fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a87fd2;
$custom-light: #c3a4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fd2",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 269.639,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66825,
    "c": 0.12661,
    "h": 306
  },
  "luminance": 0.28157
}

Semantic roles & 50–950 ramp

primary
#A87FD2
secondary
#D7E4C9
accent
#BB2A74
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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