#A87DEB#A87DEB

#A87DEB is a light, vivid violet. Relative luminance 0.290; OKLCH L 67.8% C 0.161 H 300.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#A87DEB
RGBrgb(168, 125, 235)
HSLhsl(263, 73%, 71%)
HSVhsv(263, 47%, 92%)
CMYKcmyk(28.5%, 46.8%, 0%, 7.8%)
CIE-LABlab(60.77, 38.95, -49.71)
CIE-LCHlch(60.77, 63.15, 308.08°)
OKLaboklab(67.77% 0.0812 -0.1396)
OKLCHoklch(67.77% 0.161 300.2)
XYZxyz(38.4740, 28.9900, 82.1498)
Luminance0.2899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DEB #C0EB7D
analogous
#7D89EB #A87DEB #DF7DEB
triadic
#A87DEB #EBA87D #7DEBA8
tetradic
#A87DEB #EB7D89 #C0EB7D #7DEBDF
square
#A87DEB #EB7D89 #C0EB7D #7DEBDF
split-complementary
#A87DEB #EBDF7D #89EB7D
monochromatic
#6420CE #8548E3 #A87DEB #CBB2F3 #EDE4FB

Accessibility & contrast

On white

3.09
#A87DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#A87DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DEB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DEB#FFFFFF#000000##000000
##A87DEB1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B92EF
Deuteranopia (green-blind)
#6592E8
Tritanopia (blue-blind)
#9B91A9
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #a87deb;
/* rgb */ color: rgb(168, 125, 235);
/* oklch */ color: oklch(67.8% 0.161 300.2);
Tailwind
colors: {
  custom: {
    50: '#c4a3f2',
    500: '#a87deb',
    950: '#000000',
  },
}
SCSS
$custom: #a87deb;
$custom-light: #c4a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a87deb",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 263.455,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67775,
    "c": 0.16145,
    "h": 300.2
  },
  "luminance": 0.2899
}

Semantic roles & 50–950 ramp

primary
#A87DEB
secondary
#E5F1D3
accent
#D51088
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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