#A87BCB#A87BCB

#A87BCB is a light, vivid violet. Relative luminance 0.268; OKLCH L 65.8% C 0.125 H 309.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#A87BCB
RGBrgb(168, 123, 203)
HSLhsl(274, 43%, 64%)
HSVhsv(274, 39%, 80%)
CMYKcmyk(17.2%, 39.4%, 0%, 20.4%)
CIE-LABlab(58.79, 32.59, -34.90)
CIE-LCHlch(58.79, 47.75, 313.04°)
OKLaboklab(65.79% 0.0788 -0.0966)
OKLCHoklch(65.79% 0.125 309.2)
XYZxyz(34.0089, 26.8030, 59.8702)
Luminance0.2680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BCB #9ECB7B
analogous
#807BCB #A87BCB #CB7BC6
triadic
#A87BCB #CBA87B #7BCBA8
tetradic
#A87BCB #CB807B #9ECB7B #7BC6CB
square
#A87BCB #CB807B #9ECB7B #7BC6CB
split-complementary
#A87BCB #C6CB7B #7BCB80
monochromatic
#6B3A92 #8B4FBA #A87BCB #C5A7DC #E2D3EE

Accessibility & contrast

On white

3.30
#A87BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#A87BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BCB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BCB#FFFFFF#000000##000000
##A87BCB1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCE
Deuteranopia (green-blind)
#758EC9
Tritanopia (blue-blind)
#A48799
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a87bcb;
/* rgb */ color: rgb(168, 123, 203);
/* oklch */ color: oklch(65.8% 0.125 309.2);
Tailwind
colors: {
  custom: {
    50: '#c3a2db',
    500: '#a87bcb',
    950: '#000000',
  },
}
SCSS
$custom: #a87bcb;
$custom-light: #c3a2db;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bcb",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 203
  },
  "hsl": {
    "h": 273.75,
    "s": 43.478,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65786,
    "c": 0.12466,
    "h": 309.2
  },
  "luminance": 0.26803
}

Semantic roles & 50–950 ramp

primary
#A87BCB
secondary
#CFDFC3
accent
#B72F6A
background
#FCFAFD
surface
#F8F3FB
border
#D1CDD4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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