#A87ECD#A87ECD

#A87ECD is a light, vivid violet. Relative luminance 0.277; OKLCH L 66.4% C 0.122 H 307.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#A87ECD
RGBrgb(168, 126, 205)
HSLhsl(272, 44%, 65%)
HSVhsv(272, 39%, 80%)
CMYKcmyk(18%, 38.5%, 0%, 19.6%)
CIE-LABlab(59.58, 31.35, -34.81)
CIE-LCHlch(59.58, 46.84, 312.01°)
OKLaboklab(66.41% 0.0748 -0.0964)
OKLCHoklch(66.41% 0.122 307.8)
XYZxyz(34.6266, 27.6546, 61.2595)
Luminance0.2765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87ECD #A3CD7E
analogous
#817ECD #A87ECD #CD7ECA
triadic
#A87ECD #CDA87E #7ECDA8
tetradic
#A87ECD #CD817E #A3CD7E #7ECACD
square
#A87ECD #CD817E #A3CD7E #7ECACD
split-complementary
#A87ECD #CACD7E #7ECD81
monochromatic
#6B3A96 #8A52BC #A87ECD #C6AADE #E3D6EF

Accessibility & contrast

On white

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

On black

6.53
#A87ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87ECD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87ECD#FFFFFF#000000##000000
##A87ECD1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8ED0
Deuteranopia (green-blind)
#7790CB
Tritanopia (blue-blind)
#A38A9C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #a87ecd;
/* rgb */ color: rgb(168, 126, 205);
/* oklch */ color: oklch(66.4% 0.122 307.8);
Tailwind
colors: {
  custom: {
    50: '#c3a4dc',
    500: '#a87ecd',
    950: '#000000',
  },
}
SCSS
$custom: #a87ecd;
$custom-light: #c3a4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87ecd",
  "rgb": {
    "r": 168,
    "g": 126,
    "b": 205
  },
  "hsl": {
    "h": 271.899,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66408,
    "c": 0.122,
    "h": 307.8
  },
  "luminance": 0.27654
}

Semantic roles & 50–950 ramp

primary
#A87ECD
secondary
#D3E1C6
accent
#B72E6E
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#130F15
muted
#827F83

Preview Lab

Preview with #A87ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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