#A87FBE#A87FBE

#A87FBE is a light, moderate violet. Relative luminance 0.272; OKLCH L 65.9% C 0.102 H 313.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A87FBE
RGBrgb(168, 127, 190)
HSLhsl(279, 33%, 62%)
HSVhsv(279, 33%, 75%)
CMYKcmyk(11.6%, 33.2%, 0%, 25.5%)
CIE-LABlab(59.18, 27.48, -26.93)
CIE-LCHlch(59.18, 38.48, 315.58°)
OKLaboklab(65.9% 0.0698 -0.0739)
OKLCHoklch(65.9% 0.102 313.4)
XYZxyz(33.0306, 27.2218, 52.2195)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FBE #95BE7F
analogous
#897FBE #A87FBE #BE7FB4
triadic
#A87FBE #BEA87F #7FBEA8
tetradic
#A87FBE #BE897F #95BE7F #7FB4BE
square
#A87FBE #BE897F #95BE7F #7FB4BE
split-complementary
#A87FBE #B4BE7F #7FBE89
monochromatic
#6B4281 #8C56A9 #A87FBE #C4A8D3 #DFD0E7

Accessibility & contrast

On white

3.26
#A87FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#A87FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FBE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FBE#FFFFFF#000000##000000
##A87FBE1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#758CC0
Deuteranopia (green-blind)
#7E90BC
Tritanopia (blue-blind)
#A68796
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a87fbe;
/* rgb */ color: rgb(168, 127, 190);
/* oklch */ color: oklch(65.9% 0.102 313.4);
Tailwind
colors: {
  custom: {
    50: '#c2a4d1',
    500: '#a87fbe',
    950: '#000000',
  },
}
SCSS
$custom: #a87fbe;
$custom-light: #c2a4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fbe",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 190
  },
  "hsl": {
    "h": 279.048,
    "s": 32.642,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65899,
    "c": 0.10163,
    "h": 313.4
  },
  "luminance": 0.27221
}

Semantic roles & 50–950 ramp

primary
#A87FBE
secondary
#C9D8C1
accent
#AB3A62
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#120F14
muted
#817F82

Preview Lab

Preview with #A87FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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