#A87DF9#A87DF9

#A87DF9 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.6% C 0.179 H 297.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#A87DF9
RGBrgb(168, 125, 249)
HSLhsl(261, 91%, 73%)
HSVhsv(261, 50%, 98%)
CMYKcmyk(32.5%, 49.8%, 0%, 2.4%)
CIE-LABlab(61.51, 42.40, -56.28)
CIE-LCHlch(61.51, 70.46, 306.99°)
OKLaboklab(68.56% 0.0826 -0.1588)
OKLCHoklch(68.56% 0.179 297.5)
XYZxyz(40.5767, 29.8311, 93.2244)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A87DF9 #CEF97D
analogous
#7D90F9 #A87DF9 #E67DF9
triadic
#A87DF9 #F9A87D #7DF9A8
tetradic
#A87DF9 #F97D90 #CEF97D #7DF9E6
square
#A87DF9 #F97D90 #CEF97D #7DF9E6
split-complementary
#A87DF9 #F9E67D #90F97D
monochromatic
#5B0BF0 #8142F6 #A87DF9 #CFB7FC #EBE2FE

Accessibility & contrast

On white

3.01
#A87DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#A87DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A87DF9
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A87DF9#FFFFFF#000000##000000
##A87DF91.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5195FD
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#9695B0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #a87df9;
/* rgb */ color: rgb(168, 125, 249);
/* oklch */ color: oklch(68.6% 0.179 297.5);
Tailwind
colors: {
  custom: {
    50: '#c5a3fc',
    500: '#a87df9',
    950: '#000000',
  },
}
SCSS
$custom: #a87df9;
$custom-light: #c5a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a87df9",
  "rgb": {
    "r": 168,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 260.806,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68563,
    "c": 0.17896,
    "h": 297.5
  },
  "luminance": 0.29832
}

Semantic roles & 50–950 ramp

primary
#A87DF9
secondary
#EAF6D5
accent
#E60096
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85

Preview Lab

Preview with #A87DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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