#A87BED#A87BED

#A87BED is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.6% C 0.167 H 300.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#A87BED
RGBrgb(168, 123, 237)
HSLhsl(264, 76%, 71%)
HSVhsv(264, 48%, 93%)
CMYKcmyk(29.1%, 48.1%, 0%, 7.1%)
CIE-LABlab(60.43, 40.55, -51.36)
CIE-LCHlch(60.43, 65.44, 308.29°)
OKLaboklab(67.55% 0.084 -0.1444)
OKLCHoklch(67.55% 0.167 300.2)
XYZxyz(38.5139, 28.6050, 83.5966)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87BED #C0ED7B
analogous
#7B87ED #A87BED #E17BED
triadic
#A87BED #EDA87B #7BEDA8
tetradic
#A87BED #ED7B87 #C0ED7B #7BEDE1
square
#A87BED #ED7B87 #C0ED7B #7BEDE1
split-complementary
#A87BED #EDE17B #87ED7B
monochromatic
#641DD1 #8545E6 #A87BED #CBB1F4 #EDE4FB

Accessibility & contrast

On white

3.12
#A87BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#A87BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87BED
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87BED#FFFFFF#000000##000000
##A87BED1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791F1
Deuteranopia (green-blind)
#6291EA
Tritanopia (blue-blind)
#9A90A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87bed;
/* rgb */ color: rgb(168, 123, 237);
/* oklch */ color: oklch(67.6% 0.167 300.2);
Tailwind
colors: {
  custom: {
    50: '#c5a2f3',
    500: '#a87bed',
    950: '#000000',
  },
}
SCSS
$custom: #a87bed;
$custom-light: #c5a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87bed",
  "rgb": {
    "r": 168,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 263.684,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67553,
    "c": 0.16705,
    "h": 300.2
  },
  "luminance": 0.28605
}

Semantic roles & 50–950 ramp

primary
#A87BED
secondary
#E5F1D2
accent
#D80D88
background
#FCFAFE
surface
#F8F3FD
border
#D1CDD5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87BED

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

Preview Lab → · Contrast checker → · Palette generator →

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