#A87BC2#A87BC2

#A87BC2 is a light, moderate violet. Relative luminance 0.264; OKLCH L 65.4% C 0.114 H 312.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A87BC2
RGBrgb(168, 123, 194)
HSLhsl(278, 37%, 62%)
HSVhsv(278, 37%, 76%)
CMYKcmyk(13.4%, 36.6%, 0%, 23.9%)
CIE-LABlab(58.40, 30.61, -30.41)
CIE-LCHlch(58.40, 43.14, 315.19°)
OKLaboklab(65.36% 0.0768 -0.0837)
OKLCHoklch(65.36% 0.114 312.5)
XYZxyz(32.9674, 26.3863, 54.3848)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BC2 #95C27B
analogous
#847BC2 #A87BC2 #C27BB9
triadic
#A87BC2 #C2A87B #7BC2A8
tetradic
#A87BC2 #C2847B #95C27B #7BB9C2
square
#A87BC2 #C2847B #95C27B #7BB9C2
split-complementary
#A87BC2 #B9C27B #7BC284
monochromatic
#6B3E85 #8C51AF #A87BC2 #C4A5D5 #DFCFE9

Accessibility & contrast

On white

3.35
#A87BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#A87BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BC2
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BC2#FFFFFF#000000##000000
##A87BC21.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8AC5
Deuteranopia (green-blind)
#798EC0
Tritanopia (blue-blind)
#A68595
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #a87bc2;
/* rgb */ color: rgb(168, 123, 194);
/* oklch */ color: oklch(65.4% 0.114 312.5);
Tailwind
colors: {
  custom: {
    50: '#c3a2d4',
    500: '#a87bc2',
    950: '#000000',
  },
}
SCSS
$custom: #a87bc2;
$custom-light: #c3a2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bc2",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 194
  },
  "hsl": {
    "h": 278.028,
    "s": 36.788,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65364,
    "c": 0.11362,
    "h": 312.5
  },
  "luminance": 0.26386
}

Semantic roles & 50–950 ramp

primary
#A87BC2
secondary
#C9D9BF
accent
#B03662
background
#FCFAFD
surface
#F8F3FA
border
#D1CDD3
text
#120F14
muted
#817F83

Preview Lab

Preview with #A87BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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