#A87DCD#A87DCD

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

Color values

HEX#A87DCD
RGBrgb(168, 125, 205)
HSLhsl(272, 44%, 65%)
HSVhsv(272, 39%, 80%)
CMYKcmyk(18%, 39%, 0%, 19.6%)
CIE-LABlab(59.34, 31.91, -35.17)
CIE-LCHlch(59.34, 47.49, 312.22°)
OKLaboklab(66.23% 0.0763 -0.0974)
OKLCHoklch(66.23% 0.124 308.1)
XYZxyz(34.4994, 27.4002, 61.2171)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DCD #A2CD7D
analogous
#807DCD #A87DCD #CD7DCA
triadic
#A87DCD #CDA87D #7DCDA8
tetradic
#A87DCD #CD807D #A2CD7D #7DCACD
square
#A87DCD #CD807D #A2CD7D #7DCACD
split-complementary
#A87DCD #CACD7D #7DCD80
monochromatic
#6B3A96 #8A51BC #A87DCD #C6A9DE #E3D5EF

Accessibility & contrast

On white

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

On black

6.48
#A87DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DCD
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DCD#FFFFFF#000000##000000
##A87DCD1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a87dcd;
/* rgb */ color: rgb(168, 125, 205);
/* oklch */ color: oklch(66.2% 0.124 308.1);
Tailwind
colors: {
  custom: {
    50: '#c3a3dc',
    500: '#a87dcd',
    950: '#000000',
  },
}
SCSS
$custom: #a87dcd;
$custom-light: #c3a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87dcd",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 272.25,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66232,
    "c": 0.12371,
    "h": 308.1
  },
  "luminance": 0.274
}

Semantic roles & 50–950 ramp

primary
#A87DCD
secondary
#D2E1C5
accent
#B82E6E
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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