#A87FCC#A87FCC

#A87FCC is a light, moderate violet. Relative luminance 0.279; OKLCH L 66.5% C 0.119 H 307.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#A87FCC
RGBrgb(168, 127, 204)
HSLhsl(272, 43%, 65%)
HSVhsv(272, 38%, 80%)
CMYKcmyk(17.6%, 37.7%, 0%, 20%)
CIE-LABlab(59.77, 30.56, -33.95)
CIE-LCHlch(59.77, 45.67, 311.99°)
OKLaboklab(66.54% 0.0731 -0.0939)
OKLCHoklch(66.54% 0.119 307.9)
XYZxyz(34.6348, 27.8635, 60.6686)
Luminance0.2786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FCC #A3CC7F
analogous
#817FCC #A87FCC #CC7FCA
triadic
#A87FCC #CCA87F #7FCCA8
tetradic
#A87FCC #CC817F #A3CC7F #7FCACC
square
#A87FCC #CC817F #A3CC7F #7FCACC
split-complementary
#A87FCC #CACC7F #7FCC81
monochromatic
#6B3B95 #8A53BB #A87FCC #C6ABDD #E3D7EF

Accessibility & contrast

On white

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

On black

6.57
#A87FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FCC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FCC#FFFFFF#000000##000000
##A87FCC1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECF
Deuteranopia (green-blind)
#7891CA
Tritanopia (blue-blind)
#A38A9C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a87fcc;
/* rgb */ color: rgb(168, 127, 204);
/* oklch */ color: oklch(66.5% 0.119 307.9);
Tailwind
colors: {
  custom: {
    50: '#c3a4dc',
    500: '#a87fcc',
    950: '#000000',
  },
}
SCSS
$custom: #a87fcc;
$custom-light: #c3a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fcc",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 271.948,
    "s": 43.017,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66537,
    "c": 0.11903,
    "h": 307.9
  },
  "luminance": 0.27863
}

Semantic roles & 50–950 ramp

primary
#A87FCC
secondary
#D3E1C6
accent
#B62F6E
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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