#A86DF5#A86DF5

#A86DF5 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.8% C 0.198 H 301.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A86DF5
RGBrgb(168, 109, 245)
HSLhsl(266, 87%, 69%)
HSVhsv(266, 56%, 96%)
CMYKcmyk(31.4%, 55.5%, 0%, 3.9%)
CIE-LABlab(57.90, 50.12, -59.83)
CIE-LCHlch(57.90, 78.05, 309.95°)
OKLaboklab(65.82% 0.1023 -0.1692)
OKLCHoklch(65.82% 0.198 301.2)
XYZxyz(38.0947, 25.8545, 89.3520)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A86DF5 #BAF56D
analogous
#6D76F5 #A86DF5 #EC6DF5
triadic
#A86DF5 #F5A86D #6DF5A8
tetradic
#A86DF5 #F56D76 #BAF56D #6DF5EC
square
#A86DF5 #F56D76 #BAF56D #6DF5EC
split-complementary
#A86DF5 #F5EC6D #76F56D
monochromatic
#660FD9 #8634F1 #A86DF5 #CAA6F9 #ECE0FD

Accessibility & contrast

On white

3.40
#A86DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#A86DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A86DF5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A86DF5#FFFFFF#000000##000000
##A86DF51.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#338AFA
Deuteranopia (green-blind)
#498AF2
Tritanopia (blue-blind)
#9988A7
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a86df5;
/* rgb */ color: rgb(168, 109, 245);
/* oklch */ color: oklch(65.8% 0.198 301.2);
Tailwind
colors: {
  custom: {
    50: '#c699f9',
    500: '#a86df5',
    950: '#000000',
  },
}
SCSS
$custom: #a86df5;
$custom-light: #c699f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a86df5",
  "rgb": {
    "r": 168,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 266.029,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65819,
    "c": 0.1977,
    "h": 301.2
  },
  "luminance": 0.25855
}

Semantic roles & 50–950 ramp

primary
#A86DF5
secondary
#E1F2CB
accent
#E40282
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85

Preview Lab

Preview with #A86DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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