#A87FCD#A87FCD

#A87FCD is a light, vivid violet. Relative luminance 0.279; OKLCH L 66.6% C 0.120 H 307.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A87FCD
RGBrgb(168, 127, 205)
HSLhsl(272, 44%, 65%)
HSVhsv(272, 38%, 80%)
CMYKcmyk(18%, 38%, 0%, 19.6%)
CIE-LABlab(59.81, 30.78, -34.44)
CIE-LCHlch(59.81, 46.19, 311.79°)
OKLaboklab(66.59% 0.0734 -0.0953)
OKLCHoklch(66.59% 0.12 307.6)
XYZxyz(34.7552, 27.9117, 61.3023)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87FCD #A4CD7F
analogous
#817FCD #A87FCD #CD7FCB
triadic
#A87FCD #CDA87F #7FCDA8
tetradic
#A87FCD #CD817F #A4CD7F #7FCBCD
square
#A87FCD #CD817F #A4CD7F #7FCBCD
split-complementary
#A87FCD #CBCD7F #7FCD81
monochromatic
#6B3B97 #8A53BC #A87FCD #C6ABDE #E4D7EF

Accessibility & contrast

On white

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

On black

6.58
#A87FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87FCD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87FCD#FFFFFF#000000##000000
##A87FCD1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ED0
Deuteranopia (green-blind)
#7891CB
Tritanopia (blue-blind)
#A38B9C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a87fcd;
/* rgb */ color: rgb(168, 127, 205);
/* oklch */ color: oklch(66.6% 0.120 307.6);
Tailwind
colors: {
  custom: {
    50: '#c3a4dc',
    500: '#a87fcd',
    950: '#000000',
  },
}
SCSS
$custom: #a87fcd;
$custom-light: #c3a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87fcd",
  "rgb": {
    "r": 168,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 271.538,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66585,
    "c": 0.12029,
    "h": 307.6
  },
  "luminance": 0.27911
}

Semantic roles & 50–950 ramp

primary
#A87FCD
secondary
#D3E1C7
accent
#B72F6F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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