#A87BDB#A87BDB

#A87BDB is a light, vivid violet. Relative luminance 0.276; OKLCH L 66.6% C 0.145 H 304.4°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A87BDB
RGBrgb(168, 123, 219)
HSLhsl(268, 57%, 67%)
HSVhsv(268, 44%, 86%)
CMYKcmyk(23.3%, 43.8%, 0%, 14.1%)
CIE-LABlab(59.53, 36.25, -42.75)
CIE-LCHlch(59.53, 56.05, 310.30°)
OKLaboklab(66.59% 0.0817 -0.1193)
OKLCHoklch(66.59% 0.145 304.4)
XYZxyz(36.0149, 27.6054, 70.4351)
Luminance0.2761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BDB #AEDB7B
analogous
#7B7EDB #A87BDB #D87BDB
triadic
#A87BDB #DBA87B #7BDBA8
tetradic
#A87BDB #DB7B7E #AEDB7B #7BDBD8
square
#A87BDB #DB7B7E #AEDB7B #7BDBD8
split-complementary
#A87BDB #DBD87B #7EDB7B
monochromatic
#6A2FAD #884BCE #A87BDB #C8ABE8 #E7DBF5

Accessibility & contrast

On white

3.22
#A87BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#A87BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BDB
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BDB#FFFFFF#000000##000000
##A87BDB1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDE
Deuteranopia (green-blind)
#6D8FD8
Tritanopia (blue-blind)
#A08BA1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87bdb;
/* rgb */ color: rgb(168, 123, 219);
/* oklch */ color: oklch(66.6% 0.145 304.4);
Tailwind
colors: {
  custom: {
    50: '#c4a2e6',
    500: '#a87bdb',
    950: '#000000',
  },
}
SCSS
$custom: #a87bdb;
$custom-light: #c4a2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bdb",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 268.125,
    "s": 57.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66585,
    "c": 0.14457,
    "h": 304.4
  },
  "luminance": 0.27605
}

Semantic roles & 50–950 ramp

primary
#A87BDB
secondary
#DAE8CA
accent
#C52178
background
#FCFAFE
surface
#F8F3FC
border
#D1CDD5
text
#130F16
muted
#827F84

Preview Lab

Preview with #A87BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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