#A87CC2#A87CC2

#A87CC2 is a light, moderate violet. Relative luminance 0.266; OKLCH L 65.5% C 0.112 H 312.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A87CC2
RGBrgb(168, 124, 194)
HSLhsl(278, 36%, 62%)
HSVhsv(278, 36%, 76%)
CMYKcmyk(13.4%, 36.1%, 0%, 23.9%)
CIE-LABlab(58.64, 30.04, -30.04)
CIE-LCHlch(58.64, 42.49, 315.00°)
OKLaboklab(65.54% 0.0753 -0.0827)
OKLCHoklch(65.54% 0.112 312.3)
XYZxyz(33.0921, 26.6357, 54.4264)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CC2 #96C27C
analogous
#857CC2 #A87CC2 #C27CB9
triadic
#A87CC2 #C2A87C #7CC2A8
tetradic
#A87CC2 #C2857C #96C27C #7CB9C2
square
#A87CC2 #C2857C #96C27C #7CB9C2
split-complementary
#A87CC2 #B9C27C #7CC285
monochromatic
#6B3E85 #8C52AF #A87CC2 #C4A6D5 #DFD0E9

Accessibility & contrast

On white

3.32
#A87CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#A87CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CC2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CC2#FFFFFF#000000##000000
##A87CC21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#708BC5
Deuteranopia (green-blind)
#7A8EC0
Tritanopia (blue-blind)
#A68696
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a87cc2;
/* rgb */ color: rgb(168, 124, 194);
/* oklch */ color: oklch(65.5% 0.112 312.3);
Tailwind
colors: {
  custom: {
    50: '#c3a2d4',
    500: '#a87cc2',
    950: '#000000',
  },
}
SCSS
$custom: #a87cc2;
$custom-light: #c3a2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a87cc2",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 277.714,
    "s": 36.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65541,
    "c": 0.11185,
    "h": 312.3
  },
  "luminance": 0.26635
}

Semantic roles & 50–950 ramp

primary
#A87CC2
secondary
#CADAC0
accent
#AF3663
background
#FCFAFD
surface
#F8F3FA
border
#D1CDD3
text
#120F14
muted
#817F83

Preview Lab

Preview with #A87CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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