#A87FCA#A87FCA

#A87FCA is a light, moderate violet. Relative luminance 0.278; OKLCH L 66.4% C 0.117 H 308.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A87FCA
RGBrgb(168, 127, 202)
HSLhsl(273, 41%, 65%)
HSVhsv(273, 37%, 79%)
CMYKcmyk(16.8%, 37.1%, 0%, 20.8%)
CIE-LABlab(59.68, 30.11, -32.95)
CIE-LCHlch(59.68, 44.64, 312.42°)
OKLaboklab(66.44% 0.0727 -0.0911)
OKLCHoklch(66.44% 0.117 308.6)
XYZxyz(34.3965, 27.7682, 59.4134)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FCA #A1CA7F
analogous
#837FCA #A87FCA #CA7FC6
triadic
#A87FCA #CAA87F #7FCAA8
tetradic
#A87FCA #CA837F #A1CA7F #7FC6CA
square
#A87FCA #CA837F #A1CA7F #7FC6CA
split-complementary
#A87FCA #C6CA7F #7FCA83
monochromatic
#6B3C92 #8B54B8 #A87FCA #C5AADC #E3D6EE

Accessibility & contrast

On white

3.20
#A87FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#A87FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FCA
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FCA#FFFFFF#000000##000000
##A87FCA1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#708ECD
Deuteranopia (green-blind)
#7990C8
Tritanopia (blue-blind)
#A48A9B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a87fca;
/* rgb */ color: rgb(168, 127, 202);
/* oklch */ color: oklch(66.4% 0.117 308.6);
Tailwind
colors: {
  custom: {
    50: '#c3a4da',
    500: '#a87fca',
    950: '#000000',
  },
}
SCSS
$custom: #a87fca;
$custom-light: #c3a4da;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fca",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 272.8,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66443,
    "c": 0.11652,
    "h": 308.6
  },
  "luminance": 0.27768
}

Semantic roles & 50–950 ramp

primary
#A87FCA
secondary
#D1DFC5
accent
#B4316D
background
#FCFAFD
surface
#F8F4FA
border
#D1CED3
text
#120F15
muted
#817F83

Preview Lab

Preview with #A87FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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