#A87DCE#A87DCE

#A87DCE is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.3% C 0.125 H 307.7°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A87DCE
RGBrgb(168, 125, 206)
HSLhsl(272, 45%, 65%)
HSVhsv(272, 39%, 81%)
CMYKcmyk(18.4%, 39.3%, 0%, 19.2%)
CIE-LABlab(59.39, 32.14, -35.66)
CIE-LCHlch(59.39, 48.01, 312.02°)
OKLaboklab(66.28% 0.0765 -0.0988)
OKLCHoklch(66.28% 0.125 307.7)
XYZxyz(34.6205, 27.4486, 61.8548)
Luminance0.2745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DCE #A3CE7D
analogous
#807DCE #A87DCE #CE7DCB
triadic
#A87DCE #CEA87D #7DCEA8
tetradic
#A87DCE #CE807D #A3CE7D #7DCBCE
square
#A87DCE #CE807D #A3CE7D #7DCBCE
split-complementary
#A87DCE #CBCE7D #7DCE80
monochromatic
#6B3997 #8A51BD #A87DCE #C6A9DF #E3D6F0

Accessibility & contrast

On white

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

On black

6.49
#A87DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DCE
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DCE#FFFFFF#000000##000000
##A87DCE1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DD1
Deuteranopia (green-blind)
#7690CC
Tritanopia (blue-blind)
#A3899C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87dce;
/* rgb */ color: rgb(168, 125, 206);
/* oklch */ color: oklch(66.3% 0.125 307.7);
Tailwind
colors: {
  custom: {
    50: '#c3a3dd',
    500: '#a87dce',
    950: '#000000',
  },
}
SCSS
$custom: #a87dce;
$custom-light: #c3a3dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a87dce",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 271.852,
    "s": 45.251,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6628,
    "c": 0.12496,
    "h": 307.7
  },
  "luminance": 0.27448
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A87DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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