#A886FB#A886FB

#A886FB is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.2% C 0.168 H 295.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#A886FB
RGBrgb(168, 134, 251)
HSLhsl(257, 94%, 75%)
HSVhsv(257, 47%, 98%)
CMYKcmyk(33.1%, 46.6%, 0%, 1.6%)
CIE-LABlab(63.62, 37.88, -54.01)
CIE-LCHlch(63.62, 65.97, 305.05°)
OKLaboklab(70.18% 0.0713 -0.1521)
OKLCHoklch(70.18% 0.168 295.1)
XYZxyz(42.0817, 32.3394, 95.2731)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A886FB #D9FB86
analogous
#869EFB #A886FB #E286FB
triadic
#A886FB #FBA886 #86FBA8
tetradic
#A886FB #FB869E #D9FB86 #86FBE2
square
#A886FB #FB869E #D9FB86 #86FBE2
split-complementary
#A886FB #FBE286 #9EFB86
monochromatic
#5310F7 #7D4BF9 #A886FB #D3C1FD #EAE1FE

Accessibility & contrast

On white

2.81
#A886FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#A886FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A886FB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A886FB#FFFFFF#000000##000000
##A886FB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#6598F8
Tritanopia (blue-blind)
#959CB5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a886fb;
/* rgb */ color: rgb(168, 134, 251);
/* oklch */ color: oklch(70.2% 0.168 295.1);
Tailwind
colors: {
  custom: {
    50: '#c5aafd',
    500: '#a886fb',
    950: '#000000',
  },
}
SCSS
$custom: #a886fb;
$custom-light: #c5aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#a886fb",
  "rgb": {
    "r": 168,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 257.436,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.70177,
    "c": 0.16803,
    "h": 295.1
  },
  "luminance": 0.3234
}

Semantic roles & 50–950 ramp

primary
#A886FB
secondary
#ECF6D5
accent
#E600A3
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A886FB

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

Preview Lab → · Contrast checker → · Palette generator →

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