#A86FC7#A86FC7

#A86FC7 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.6% C 0.140 H 312.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A86FC7
RGBrgb(168, 111, 199)
HSLhsl(279, 44%, 61%)
HSVhsv(279, 44%, 78%)
CMYKcmyk(15.6%, 44.2%, 0%, 22%)
CIE-LABlab(55.91, 38.41, -37.14)
CIE-LCHlch(55.91, 53.43, 315.96°)
OKLaboklab(63.56% 0.0954 -0.103)
OKLCHoklch(63.56% 0.14 312.8)
XYZxyz(32.1400, 23.8179, 56.9260)
Luminance0.2382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A86FC7 #8EC76F
analogous
#7C6FC7 #A86FC7 #C76FBA
triadic
#A86FC7 #C7A86F #6FC7A8
tetradic
#A86FC7 #C77C6F #8EC76F #6FBAC7
square
#A86FC7 #C77C6F #8EC76F #6FBAC7
split-complementary
#A86FC7 #BAC76F #6FC77C
monochromatic
#6A3587 #8D46B3 #A86FC7 #C39BD8 #DDC7E9

Accessibility & contrast

On white

3.64
#A86FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#A86FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A86FC7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A86FC7#FFFFFF#000000##000000
##A86FC71.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D83CA
Deuteranopia (green-blind)
#6C87C5
Tritanopia (blue-blind)
#A57C92
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a86fc7;
/* rgb */ color: rgb(168, 111, 199);
/* oklch */ color: oklch(63.6% 0.140 312.8);
Tailwind
colors: {
  custom: {
    50: '#c399d8',
    500: '#a86fc7',
    950: '#000000',
  },
}
SCSS
$custom: #a86fc7;
$custom-light: #c399d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a86fc7",
  "rgb": {
    "r": 168,
    "g": 111,
    "b": 199
  },
  "hsl": {
    "h": 278.864,
    "s": 44,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63556,
    "c": 0.14042,
    "h": 312.8
  },
  "luminance": 0.23817
}

Semantic roles & 50–950 ramp

primary
#A86FC7
secondary
#C4DAB8
accent
#B72E5F
background
#FCF9FD
surface
#F8F2FA
border
#D1CCD3
text
#130E14
muted
#827E83

Preview Lab

Preview with #A86FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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