#A87DCC#A87DCC

#A87DCC is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.2% C 0.122 H 308.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A87DCC
RGBrgb(168, 125, 204)
HSLhsl(273, 44%, 65%)
HSVhsv(273, 39%, 80%)
CMYKcmyk(17.6%, 38.7%, 0%, 20%)
CIE-LABlab(59.30, 31.69, -34.67)
CIE-LCHlch(59.30, 46.97, 312.42°)
OKLaboklab(66.18% 0.0761 -0.096)
OKLCHoklch(66.18% 0.122 308.4)
XYZxyz(34.3791, 27.3521, 60.5834)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DCC #A1CC7D
analogous
#817DCC #A87DCC #CC7DC9
triadic
#A87DCC #CCA87D #7DCCA8
tetradic
#A87DCC #CC817D #A1CC7D #7DC9CC
square
#A87DCC #CC817D #A1CC7D #7DC9CC
split-complementary
#A87DCC #C9CC7D #7DCC81
monochromatic
#6B3A94 #8B51BB #A87DCC #C5A9DD #E3D5EE

Accessibility & contrast

On white

3.25
#A87DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#A87DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DCC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DCC#FFFFFF#000000##000000
##A87DCC1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8DCF
Deuteranopia (green-blind)
#768FCA
Tritanopia (blue-blind)
#A3899B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87dcc;
/* rgb */ color: rgb(168, 125, 204);
/* oklch */ color: oklch(66.2% 0.122 308.4);
Tailwind
colors: {
  custom: {
    50: '#c3a3dc',
    500: '#a87dcc',
    950: '#000000',
  },
}
SCSS
$custom: #a87dcc;
$custom-light: #c3a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87dcc",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 272.658,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66184,
    "c": 0.12247,
    "h": 308.4
  },
  "luminance": 0.27352
}

Semantic roles & 50–950 ramp

primary
#A87DCC
secondary
#D1E0C5
accent
#B72F6D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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