#A87CED#A87CED

#A87CED is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.166 H 300.0°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A87CED
RGBrgb(168, 124, 237)
HSLhsl(263, 76%, 71%)
HSVhsv(263, 48%, 93%)
CMYKcmyk(29.1%, 47.7%, 0%, 7.1%)
CIE-LABlab(60.65, 39.99, -51.01)
CIE-LCHlch(60.65, 64.82, 308.10°)
OKLaboklab(67.72% 0.0827 -0.1434)
OKLCHoklch(67.72% 0.166 300)
XYZxyz(38.6386, 28.8543, 83.6382)
Luminance0.2885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87CED #C1ED7C
analogous
#7C88ED #A87CED #E17CED
triadic
#A87CED #EDA87C #7CEDA8
tetradic
#A87CED #ED7C88 #C1ED7C #7CEDE1
square
#A87CED #ED7C88 #C1ED7C #7CEDE1
split-complementary
#A87CED #EDE17C #88ED7C
monochromatic
#631DD2 #8446E6 #A87CED #CCB2F4 #EDE4FB

Accessibility & contrast

On white

3.10
#A87CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#A87CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87CED
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87CED#FFFFFF#000000##000000
##A87CED1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#6392EA
Tritanopia (blue-blind)
#9A91A9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #a87ced;
/* rgb */ color: rgb(168, 124, 237);
/* oklch */ color: oklch(67.7% 0.166 300.0);
Tailwind
colors: {
  custom: {
    50: '#c5a3f3',
    500: '#a87ced',
    950: '#000000',
  },
}
SCSS
$custom: #a87ced;
$custom-light: #c5a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ced",
  "rgb": {
    "r": 168,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 263.363,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.67719,
    "c": 0.1655,
    "h": 300
  },
  "luminance": 0.28855
}

Semantic roles & 50–950 ramp

primary
#A87CED
secondary
#E6F2D3
accent
#D80D89
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87CED

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

Preview Lab → · Contrast checker → · Palette generator →

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