#A87CD3#A87CD3

#A87CD3 is a light, vivid violet. Relative luminance 0.274; OKLCH L 66.4% C 0.133 H 306.4°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A87CD3
RGBrgb(168, 124, 211)
HSLhsl(270, 50%, 66%)
HSVhsv(270, 41%, 83%)
CMYKcmyk(20.4%, 41.2%, 0%, 17.3%)
CIE-LABlab(59.38, 33.84, -38.49)
CIE-LCHlch(59.38, 51.25, 311.32°)
OKLaboklab(66.35% 0.0789 -0.107)
OKLCHoklch(66.35% 0.133 306.4)
XYZxyz(35.1116, 27.4435, 65.0628)
Luminance0.2744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CD3 #A7D37C
analogous
#7C7CD3 #A87CD3 #D37CD2
triadic
#A87CD3 #D3A87C #7CD3A8
tetradic
#A87CD3 #D37C7C #A7D37C #7CD2D3
square
#A87CD3 #D37C7C #A7D37C #7CD2D3
split-complementary
#A87CD3 #D2D37C #7CD37C
monochromatic
#6B359F #8A4EC4 #A87CD3 #C6AAE2 #E5D8F2

Accessibility & contrast

On white

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

On black

6.49
#A87CD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CD3
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CD3#FFFFFF#000000##000000
##A87CD31.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#688DD6
Deuteranopia (green-blind)
#728FD1
Tritanopia (blue-blind)
#A28A9D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87cd3;
/* rgb */ color: rgb(168, 124, 211);
/* oklch */ color: oklch(66.4% 0.133 306.4);
Tailwind
colors: {
  custom: {
    50: '#c3a2e1',
    500: '#a87cd3',
    950: '#000000',
  },
}
SCSS
$custom: #a87cd3;
$custom-light: #c3a2e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cd3",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 211
  },
  "hsl": {
    "h": 270.345,
    "s": 49.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66351,
    "c": 0.13291,
    "h": 306.4
  },
  "luminance": 0.27443
}

Semantic roles & 50–950 ramp

primary
#A87CD3
secondary
#D5E4C7
accent
#BD2872
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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