#A87FCE#A87FCE

#A87FCE is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.6% C 0.122 H 307.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A87FCE
RGBrgb(168, 127, 206)
HSLhsl(271, 45%, 65%)
HSVhsv(271, 38%, 81%)
CMYKcmyk(18.4%, 38.3%, 0%, 19.2%)
CIE-LABlab(59.85, 31.01, -34.94)
CIE-LCHlch(59.85, 46.71, 311.59°)
OKLaboklab(66.63% 0.0736 -0.0968)
OKLCHoklch(66.63% 0.122 307.2)
XYZxyz(34.8762, 27.9601, 61.9401)
Luminance0.2796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FCE #A5CE7F
analogous
#807FCE #A87FCE #CE7FCD
triadic
#A87FCE #CEA87F #7FCEA8
tetradic
#A87FCE #CE807F #A5CE7F #7FCDCE
square
#A87FCE #CE807F #A5CE7F #7FCDCE
split-complementary
#A87FCE #CDCE7F #7FCE80
monochromatic
#6B3A98 #8A53BD #A87FCE #C6ABDF #E4D8F0

Accessibility & contrast

On white

3.19
#A87FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#A87FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FCE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FCE#FFFFFF#000000##000000
##A87FCE1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8FD1
Deuteranopia (green-blind)
#7791CC
Tritanopia (blue-blind)
#A38B9D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a87fce;
/* rgb */ color: rgb(168, 127, 206);
/* oklch */ color: oklch(66.6% 0.122 307.2);
Tailwind
colors: {
  custom: {
    50: '#c3a4dd',
    500: '#a87fce',
    950: '#000000',
  },
}
SCSS
$custom: #a87fce;
$custom-light: #c3a4dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fce",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 206
  },
  "hsl": {
    "h": 271.139,
    "s": 44.633,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66632,
    "c": 0.12155,
    "h": 307.2
  },
  "luminance": 0.2796
}

Semantic roles & 50–950 ramp

primary
#A87FCE
secondary
#D4E2C7
accent
#B82E70
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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