#A87FDE#A87FDE

#A87FDE is a light, vivid violet. Relative luminance 0.288; OKLCH L 67.4% C 0.142 H 302.7°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#A87FDE
RGBrgb(168, 127, 222)
HSLhsl(266, 59%, 68%)
HSVhsv(266, 43%, 87%)
CMYKcmyk(24.3%, 42.8%, 0%, 12.9%)
CIE-LABlab(60.58, 34.71, -42.76)
CIE-LCHlch(60.58, 55.08, 309.07°)
OKLaboklab(67.43% 0.0766 -0.1194)
OKLCHoklch(67.43% 0.142 302.7)
XYZxyz(36.9198, 28.7775, 72.7027)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FDE #B5DE7F
analogous
#7F85DE #A87FDE #D77FDE
triadic
#A87FDE #DEA87F #7FDEA8
tetradic
#A87FDE #DE7F85 #B5DE7F #7FDED7
square
#A87FDE #DE7F85 #B5DE7F #7FDED7
split-complementary
#A87FDE #DED77F #85DE7F
monochromatic
#682EB4 #874ED1 #A87FDE #C9B0EB #EAE0F7

Accessibility & contrast

On white

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

On black

6.76
#A87FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FDE
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FDE#FFFFFF#000000##000000
##A87FDE1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6691E1
Deuteranopia (green-blind)
#6F92DC
Tritanopia (blue-blind)
#9F8FA4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87fde;
/* rgb */ color: rgb(168, 127, 222);
/* oklch */ color: oklch(67.4% 0.142 302.7);
Tailwind
colors: {
  custom: {
    50: '#c4a5e8',
    500: '#a87fde',
    950: '#000000',
  },
}
SCSS
$custom: #a87fde;
$custom-light: #c4a5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fde",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 265.895,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.67425,
    "c": 0.14183,
    "h": 302.7
  },
  "luminance": 0.28778
}

Semantic roles & 50–950 ramp

primary
#A87FDE
secondary
#DEEBCE
accent
#C71F7E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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