#A87DEF#A87DEF

#A87DEF is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.0% C 0.166 H 299.4°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A87DEF
RGBrgb(168, 125, 239)
HSLhsl(263, 78%, 71%)
HSVhsv(263, 48%, 94%)
CMYKcmyk(29.7%, 47.7%, 0%, 6.3%)
CIE-LABlab(60.98, 39.93, -51.60)
CIE-LCHlch(60.98, 65.24, 307.73°)
OKLaboklab(68% 0.0816 -0.1451)
OKLCHoklch(68% 0.166 299.4)
XYZxyz(39.0584, 29.2238, 85.2276)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DEF #C4EF7D
analogous
#7D8BEF #A87DEF #E17DEF
triadic
#A87DEF #EFA87D #7DEFA8
tetradic
#A87DEF #EF7D8B #C4EF7D #7DEFE1
square
#A87DEF #EF7D8B #C4EF7D #7DEFE1
split-complementary
#A87DEF #EFE17D #8BEF7D
monochromatic
#621AD7 #8447E8 #A87DEF #CCB3F6 #EDE4FC

Accessibility & contrast

On white

3.07
#A87DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#A87DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DEF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DEF#FFFFFF#000000##000000
##A87DEF1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F3
Deuteranopia (green-blind)
#6392EC
Tritanopia (blue-blind)
#9A92AB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87def;
/* rgb */ color: rgb(168, 125, 239);
/* oklch */ color: oklch(68.0% 0.166 299.4);
Tailwind
colors: {
  custom: {
    50: '#c5a3f5',
    500: '#a87def',
    950: '#000000',
  },
}
SCSS
$custom: #a87def;
$custom-light: #c5a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a87def",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 262.632,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67996,
    "c": 0.16647,
    "h": 299.4
  },
  "luminance": 0.29224
}

Semantic roles & 50–950 ramp

primary
#A87DEF
secondary
#E8F3D5
accent
#DA0B8C
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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