#A87BCA#A87BCA

#A87BCA is a light, vivid violet. Relative luminance 0.268; OKLCH L 65.7% C 0.123 H 309.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A87BCA
RGBrgb(168, 123, 202)
HSLhsl(274, 43%, 64%)
HSVhsv(274, 39%, 79%)
CMYKcmyk(16.8%, 39.1%, 0%, 20.8%)
CIE-LABlab(58.75, 32.37, -34.40)
CIE-LCHlch(58.75, 47.24, 313.25°)
OKLaboklab(65.74% 0.0785 -0.0952)
OKLCHoklch(65.74% 0.123 309.5)
XYZxyz(33.8901, 26.7554, 59.2446)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BCA #9DCA7B
analogous
#807BCA #A87BCA #CA7BC4
triadic
#A87BCA #CAA87B #7BCAA8
tetradic
#A87BCA #CA807B #9DCA7B #7BC4CA
square
#A87BCA #CA807B #9DCA7B #7BC4CA
split-complementary
#A87BCA #C4CA7B #7BCA80
monochromatic
#6B3A91 #8B4FB8 #A87BCA #C5A7DC #E2D2ED

Accessibility & contrast

On white

3.31
#A87BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A87BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BCA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BCA#FFFFFF#000000##000000
##A87BCA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCD
Deuteranopia (green-blind)
#768EC8
Tritanopia (blue-blind)
#A48799
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a87bca;
/* rgb */ color: rgb(168, 123, 202);
/* oklch */ color: oklch(65.7% 0.123 309.5);
Tailwind
colors: {
  custom: {
    50: '#c3a2da',
    500: '#a87bca',
    950: '#000000',
  },
}
SCSS
$custom: #a87bca;
$custom-light: #c3a2da;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bca",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 274.177,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65738,
    "c": 0.12342,
    "h": 309.5
  },
  "luminance": 0.26755
}

Semantic roles & 50–950 ramp

primary
#A87BCA
secondary
#CEDEC2
accent
#B63069
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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