#A87FDD#A87FDD

#A87FDD is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.4% C 0.141 H 302.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A87FDD
RGBrgb(168, 127, 221)
HSLhsl(266, 58%, 68%)
HSVhsv(266, 43%, 87%)
CMYKcmyk(24%, 42.5%, 0%, 13.3%)
CIE-LABlab(60.54, 34.48, -42.28)
CIE-LCHlch(60.54, 54.55, 309.19°)
OKLaboklab(67.37% 0.0764 -0.118)
OKLCHoklch(67.37% 0.141 302.9)
XYZxyz(36.7861, 28.7241, 71.9989)
Luminance0.2872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FDD #B4DD7F
analogous
#7F85DD #A87FDD #D77FDD
triadic
#A87FDD #DDA87F #7FDDA8
tetradic
#A87FDD #DD7F85 #B4DD7F #7FDDD7
square
#A87FDD #DD7F85 #B4DD7F #7FDDD7
split-complementary
#A87FDD #DDD77F #85DD7F
monochromatic
#682FB2 #874FD0 #A87FDD #C9AFEA #EAE0F7

Accessibility & contrast

On white

3.11
#A87FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#A87FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FDD
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FDD#FFFFFF#000000##000000
##A87FDD1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6791E0
Deuteranopia (green-blind)
#7092DB
Tritanopia (blue-blind)
#9F8FA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87fdd;
/* rgb */ color: rgb(168, 127, 221);
/* oklch */ color: oklch(67.4% 0.141 302.9);
Tailwind
colors: {
  custom: {
    50: '#c4a5e8',
    500: '#a87fdd',
    950: '#000000',
  },
}
SCSS
$custom: #a87fdd;
$custom-light: #c4a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fdd",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 266.17,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.67373,
    "c": 0.14055,
    "h": 302.9
  },
  "luminance": 0.28724
}

Semantic roles & 50–950 ramp

primary
#A87FDD
secondary
#DEEACE
accent
#C6207D
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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