#A87CD2#A87CD2

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

Color values

HEX#A87CD2
RGBrgb(168, 124, 210)
HSLhsl(271, 49%, 65%)
HSVhsv(271, 41%, 82%)
CMYKcmyk(20%, 41%, 0%, 17.6%)
CIE-LABlab(59.34, 33.61, -38.00)
CIE-LCHlch(59.34, 50.73, 311.49°)
OKLaboklab(66.3% 0.0787 -0.1056)
OKLCHoklch(66.3% 0.132 306.7)
XYZxyz(34.9867, 27.3936, 64.4046)
Luminance0.2739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CD2 #A6D27C
analogous
#7D7CD2 #A87CD2 #D27CD1
triadic
#A87CD2 #D2A87C #7CD2A8
tetradic
#A87CD2 #D27D7C #A6D27C #7CD1D2
square
#A87CD2 #D27D7C #A6D27C #7CD1D2
split-complementary
#A87CD2 #D1D27C #7CD27D
monochromatic
#6B369D #8A4EC2 #A87CD2 #C6AAE2 #E5D7F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A87CD2#FFFFFF#000000##000000
##A87CD21.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)
#688DD5
Deuteranopia (green-blind)
#738FD0
Tritanopia (blue-blind)
#A2899D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87cd2;
/* rgb */ color: rgb(168, 124, 210);
/* oklch */ color: oklch(66.3% 0.132 306.7);
Tailwind
colors: {
  custom: {
    50: '#c3a2e0',
    500: '#a87cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a87cd2;
$custom-light: #c3a2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cd2",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 270.698,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66301,
    "c": 0.13166,
    "h": 306.7
  },
  "luminance": 0.27393
}

Semantic roles & 50–950 ramp

primary
#A87CD2
secondary
#D5E3C6
accent
#BC2971
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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