#A87FDB#A87FDB

#A87FDB is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.3% C 0.138 H 303.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A87FDB
RGBrgb(168, 127, 219)
HSLhsl(267, 56%, 68%)
HSVhsv(267, 42%, 86%)
CMYKcmyk(23.3%, 42%, 0%, 14.1%)
CIE-LABlab(60.44, 34.01, -41.31)
CIE-LCHlch(60.44, 53.51, 309.46°)
OKLaboklab(67.27% 0.0761 -0.1152)
OKLCHoklch(67.27% 0.138 303.4)
XYZxyz(36.5213, 28.6181, 70.6039)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FDB #B2DB7F
analogous
#7F84DB #A87FDB #D67FDB
triadic
#A87FDB #DBA87F #7FDBA8
tetradic
#A87FDB #DB7F84 #B2DB7F #7FDBD6
square
#A87FDB #DB7F84 #B2DB7F #7FDBD6
split-complementary
#A87FDB #DBD67F #84DB7F
monochromatic
#6931AF #884FCE #A87FDB #C8AFE8 #E9DFF6

Accessibility & contrast

On white

3.12
#A87FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A87FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FDB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FDB#FFFFFF#000000##000000
##A87FDB1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6891DE
Deuteranopia (green-blind)
#7192D9
Tritanopia (blue-blind)
#9F8EA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87fdb;
/* rgb */ color: rgb(168, 127, 219);
/* oklch */ color: oklch(67.3% 0.138 303.4);
Tailwind
colors: {
  custom: {
    50: '#c3a5e6',
    500: '#a87fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a87fdb;
$custom-light: #c3a5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fdb",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 266.739,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.67272,
    "c": 0.13802,
    "h": 303.4
  },
  "luminance": 0.28618
}

Semantic roles & 50–950 ramp

primary
#A87FDB
secondary
#DCE9CD
accent
#C4227C
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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