#A87BCD#A87BCD

#A87BCD is a light, vivid violet. Relative luminance 0.269; OKLCH L 65.9% C 0.127 H 308.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A87BCD
RGBrgb(168, 123, 205)
HSLhsl(273, 45%, 64%)
HSVhsv(273, 40%, 80%)
CMYKcmyk(18%, 40%, 0%, 19.6%)
CIE-LABlab(58.88, 33.04, -35.89)
CIE-LCHlch(58.88, 48.78, 312.63°)
OKLaboklab(65.88% 0.0792 -0.0995)
OKLCHoklch(65.88% 0.127 308.5)
XYZxyz(34.2488, 26.8989, 61.1335)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BCD #A0CD7B
analogous
#7F7BCD #A87BCD #CD7BC9
triadic
#A87BCD #CDA87B #7BCDA8
tetradic
#A87BCD #CD7F7B #A0CD7B #7BC9CD
square
#A87BCD #CD7F7B #A0CD7B #7BC9CD
split-complementary
#A87BCD #C9CD7B #7BCD7F
monochromatic
#6B3895 #8B4FBC #A87BCD #C5A7DE #E3D4EF

Accessibility & contrast

On white

3.29
#A87BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#A87BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BCD
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BCD#FFFFFF#000000##000000
##A87BCD1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#748ECB
Tritanopia (blue-blind)
#A3879A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #a87bcd;
/* rgb */ color: rgb(168, 123, 205);
/* oklch */ color: oklch(65.9% 0.127 308.5);
Tailwind
colors: {
  custom: {
    50: '#c3a2dc',
    500: '#a87bcd',
    950: '#000000',
  },
}
SCSS
$custom: #a87bcd;
$custom-light: #c3a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bcd",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 272.927,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65883,
    "c": 0.12713,
    "h": 308.5
  },
  "luminance": 0.26899
}

Semantic roles & 50–950 ramp

primary
#A87BCD
secondary
#D1E0C4
accent
#B82D6C
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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