#A87DDC#A87DDC

#A87DDC is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.0% C 0.143 H 303.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A87DDC
RGBrgb(168, 125, 220)
HSLhsl(267, 58%, 68%)
HSVhsv(267, 43%, 86%)
CMYKcmyk(23.6%, 43.2%, 0%, 13.7%)
CIE-LABlab(60.03, 35.36, -42.52)
CIE-LCHlch(60.03, 55.30, 309.75°)
OKLaboklab(66.98% 0.079 -0.1186)
OKLCHoklch(66.98% 0.143 303.7)
XYZxyz(36.3976, 28.1595, 71.2141)
Luminance0.2816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DDC #B1DC7D
analogous
#7D81DC #A87DDC #D87DDC
triadic
#A87DDC #DCA87D #7DDCA8
tetradic
#A87DDC #DC7D81 #B1DC7D #7DDCD8
square
#A87DDC #DC7D81 #B1DC7D #7DDCD8
split-complementary
#A87DDC #DCD87D #81DC7D
monochromatic
#692FAF #884DCF #A87DDC #C8ADE9 #E9DDF6

Accessibility & contrast

On white

3.17
#A87DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#A87DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DDC
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DDC#FFFFFF#000000##000000
##A87DDC1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590DF
Deuteranopia (green-blind)
#6E91DA
Tritanopia (blue-blind)
#9F8DA2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #a87ddc;
/* rgb */ color: rgb(168, 125, 220);
/* oklch */ color: oklch(67.0% 0.143 303.7);
Tailwind
colors: {
  custom: {
    50: '#c4a3e7',
    500: '#a87ddc',
    950: '#000000',
  },
}
SCSS
$custom: #a87ddc;
$custom-light: #c4a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ddc",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 220
  },
  "hsl": {
    "h": 267.158,
    "s": 57.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66978,
    "c": 0.14256,
    "h": 303.7
  },
  "luminance": 0.28159
}

Semantic roles & 50–950 ramp

primary
#A87DDC
secondary
#DCE9CC
accent
#C5207B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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