#A86FEC#A86FEC

#A86FEC is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.184 H 302.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A86FEC
RGBrgb(168, 111, 236)
HSLhsl(267, 77%, 68%)
HSVhsv(267, 53%, 93%)
CMYKcmyk(28.8%, 53%, 0%, 7.5%)
CIE-LABlab(57.80, 46.88, -54.99)
CIE-LCHlch(57.80, 72.27, 310.45°)
OKLaboklab(65.58% 0.0995 -0.155)
OKLCHoklch(65.58% 0.184 302.7)
XYZxyz(36.9698, 25.7498, 82.3632)
Luminance0.2575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A86FEC #B3EC6F
analogous
#6F74EC #A86FEC #E66FEC
triadic
#A86FEC #ECA86F #6FECA8
tetradic
#A86FEC #EC6F74 #B3EC6F #6FECE6
square
#A86FEC #EC6F74 #B3EC6F #6FECE6
split-complementary
#A86FEC #ECE66F #74EC6F
monochromatic
#691AC6 #8739E5 #A86FEC #C9A5F3 #E9DBFA

Accessibility & contrast

On white

3.41
#A86FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#A86FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A86FEC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A86FEC#FFFFFF#000000##000000
##A86FEC1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#428AF0
Deuteranopia (green-blind)
#548BE9
Tritanopia (blue-blind)
#9B87A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #a86fec;
/* rgb */ color: rgb(168, 111, 236);
/* oklch */ color: oklch(65.6% 0.184 302.7);
Tailwind
colors: {
  custom: {
    50: '#c59af3',
    500: '#a86fec',
    950: '#000000',
  },
}
SCSS
$custom: #a86fec;
$custom-light: #c59af3;
$custom-dark: #000000;
JSON
{
  "hex": "#a86fec",
  "rgb": {
    "r": 168,
    "g": 111,
    "b": 236
  },
  "hsl": {
    "h": 267.36,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6558,
    "c": 0.18416,
    "h": 302.7
  },
  "luminance": 0.2575
}

Semantic roles & 50–950 ramp

primary
#A86FEC
secondary
#DDEFC8
accent
#D90D7C
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A86FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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