#A87FC2#A87FC2

#A87FC2 is a light, moderate violet. Relative luminance 0.274; OKLCH L 66.1% C 0.107 H 311.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A87FC2
RGBrgb(168, 127, 194)
HSLhsl(277, 35%, 63%)
HSVhsv(277, 35%, 76%)
CMYKcmyk(13.4%, 34.5%, 0%, 23.9%)
CIE-LABlab(59.34, 28.35, -28.95)
CIE-LCHlch(59.34, 40.52, 314.40°)
OKLaboklab(66.08% 0.0708 -0.0796)
OKLCHoklch(66.08% 0.107 311.7)
XYZxyz(33.4738, 27.3991, 54.5536)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FC2 #99C27F
analogous
#867FC2 #A87FC2 #C27FBB
triadic
#A87FC2 #C2A87F #7FC2A8
tetradic
#A87FC2 #C2867F #99C27F #7FBBC2
square
#A87FC2 #C2867F #99C27F #7FBBC2
split-complementary
#A87FC2 #BBC27F #7FC286
monochromatic
#6B4087 #8C56AE #A87FC2 #C4A8D6 #E0D2EA

Accessibility & contrast

On white

3.24
#A87FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#A87FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FC2
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FC2#FFFFFF#000000##000000
##A87FC21.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#738DC5
Deuteranopia (green-blind)
#7D90C0
Tritanopia (blue-blind)
#A68898
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87fc2;
/* rgb */ color: rgb(168, 127, 194);
/* oklch */ color: oklch(66.1% 0.107 311.7);
Tailwind
colors: {
  custom: {
    50: '#c3a4d4',
    500: '#a87fc2',
    950: '#000000',
  },
}
SCSS
$custom: #a87fc2;
$custom-light: #c3a4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fc2",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 276.716,
    "s": 35.45,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66077,
    "c": 0.10654,
    "h": 311.7
  },
  "luminance": 0.27399
}

Semantic roles & 50–950 ramp

primary
#A87FC2
secondary
#CCDAC2
accent
#AE3765
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#120F14
muted
#817F83

Preview Lab

Preview with #A87FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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