#A186FB#A186FB

#A186FB is a light, vivid violet. Relative luminance 0.316; OKLCH L 69.6% C 0.168 H 292.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#A186FB
RGBrgb(161, 134, 251)
HSLhsl(254, 94%, 75%)
HSVhsv(254, 47%, 98%)
CMYKcmyk(35.9%, 46.6%, 0%, 1.6%)
CIE-LABlab(63.00, 36.12, -55.03)
CIE-LCHlch(63.00, 65.83, 303.28°)
OKLaboklab(69.57% 0.063 -0.1553)
OKLCHoklch(69.57% 0.168 292.1)
XYZxyz(40.6310, 31.5913, 95.2051)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A186FB #E0FB86
analogous
#86A5FB #A186FB #DB86FB
triadic
#A186FB #FBA186 #86FBA1
tetradic
#A186FB #FB86A5 #E0FB86 #86FBDB
square
#A186FB #FB86A5 #E0FB86 #86FBDB
split-complementary
#A186FB #FBDB86 #A5FB86
monochromatic
#4510F7 #734BF9 #A186FB #CFC1FD #E8E1FE

Accessibility & contrast

On white

2.87
#A186FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#A186FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A186FB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A186FB#FFFFFF#000000##000000
##A186FB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#8B9DB5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a186fb;
/* rgb */ color: rgb(161, 134, 251);
/* oklch */ color: oklch(69.6% 0.168 292.1);
Tailwind
colors: {
  custom: {
    50: '#c0a9fd',
    500: '#a186fb',
    950: '#000000',
  },
}
SCSS
$custom: #a186fb;
$custom-light: #c0a9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a186fb",
  "rgb": {
    "r": 161,
    "g": 134,
    "b": 251
  },
  "hsl": {
    "h": 253.846,
    "s": 93.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.69565,
    "c": 0.16761,
    "h": 292.1
  },
  "luminance": 0.31592
}

Semantic roles & 50–950 ramp

primary
#A186FB
secondary
#EEF6D5
accent
#E600B1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A186FB

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

Preview Lab → · Contrast checker → · Palette generator →

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