#A86CD7#A86CD7

#A86CD7 is a light, vivid violet. Relative luminance 0.240; OKLCH L 63.9% C 0.164 H 308.3°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A86CD7
RGBrgb(168, 108, 215)
HSLhsl(274, 57%, 63%)
HSVhsv(274, 50%, 84%)
CMYKcmyk(21.9%, 49.8%, 0%, 15.7%)
CIE-LABlab(56.04, 43.61, -46.00)
CIE-LCHlch(56.04, 63.39, 313.47°)
OKLaboklab(63.92% 0.1018 -0.1287)
OKLCHoklch(63.92% 0.164 308.3)
XYZxyz(33.7744, 23.9567, 67.1217)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A86CD7 #9BD76C
analogous
#726CD7 #A86CD7 #D76CD0
triadic
#A86CD7 #D7A86C #6CD7A8
tetradic
#A86CD7 #D7726C #9BD76C #6CD0D7
square
#A86CD7 #D7726C #9BD76C #6CD0D7
split-complementary
#A86CD7 #D0D76C #6CD772
monochromatic
#6B2B9E #8C3CCA #A86CD7 #C49CE4 #E1CCF1

Accessibility & contrast

On white

3.63
#A86CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A86CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A86CD7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A86CD7#FFFFFF#000000##000000
##A86CD71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F84DB
Deuteranopia (green-blind)
#6087D4
Tritanopia (blue-blind)
#A17E98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a86cd7;
/* rgb */ color: rgb(168, 108, 215);
/* oklch */ color: oklch(63.9% 0.164 308.3);
Tailwind
colors: {
  custom: {
    50: '#c498e4',
    500: '#a86cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a86cd7;
$custom-light: #c498e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a86cd7",
  "rgb": {
    "r": 168,
    "g": 108,
    "b": 215
  },
  "hsl": {
    "h": 273.645,
    "s": 57.219,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63916,
    "c": 0.16409,
    "h": 308.3
  },
  "luminance": 0.23956
}

Semantic roles & 50–950 ramp

primary
#A86CD7
secondary
#CDE2BC
accent
#C52169
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E15
muted
#827E84

Preview Lab

Preview with #A86CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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