#A87CDC#A87CDC

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

Color values

HEX#A87CDC
RGBrgb(168, 124, 220)
HSLhsl(268, 58%, 67%)
HSVhsv(268, 44%, 86%)
CMYKcmyk(23.6%, 43.6%, 0%, 13.7%)
CIE-LABlab(59.81, 35.92, -42.87)
CIE-LCHlch(59.81, 55.94, 309.96°)
OKLaboklab(66.81% 0.0804 -0.1197)
OKLCHoklch(66.81% 0.144 303.9)
XYZxyz(36.2716, 27.9075, 71.1721)
Luminance0.2791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CDC #B0DC7C
analogous
#7C80DC #A87CDC #D87CDC
triadic
#A87CDC #DCA87C #7CDCA8
tetradic
#A87CDC #DC7C80 #B0DC7C #7CDCD8
square
#A87CDC #DC7C80 #B0DC7C #7CDCD8
split-complementary
#A87CDC #DCD87C #80DC7C
monochromatic
#692FAF #884CCF #A87CDC #C8ACE9 #E8DDF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A87CDC#FFFFFF#000000##000000
##A87CDC1.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)
#638FE0
Deuteranopia (green-blind)
#6D90D9
Tritanopia (blue-blind)
#9F8CA1
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #a87cdc;
/* rgb */ color: rgb(168, 124, 220);
/* oklch */ color: oklch(66.8% 0.144 303.9);
Tailwind
colors: {
  custom: {
    50: '#c4a2e7',
    500: '#a87cdc',
    950: '#000000',
  },
}
SCSS
$custom: #a87cdc;
$custom-light: #c4a2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cdc",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 267.5,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66807,
    "c": 0.1442,
    "h": 303.9
  },
  "luminance": 0.27907
}

Semantic roles & 50–950 ramp

primary
#A87CDC
secondary
#DBE9CB
accent
#C5207A
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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