#A186FA#A186FA

#A186FA is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.5% C 0.166 H 292.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A186FA
RGBrgb(161, 134, 250)
HSLhsl(254, 92%, 75%)
HSVhsv(254, 46%, 98%)
CMYKcmyk(35.6%, 46.4%, 0%, 2%)
CIE-LABlab(62.95, 35.86, -54.57)
CIE-LCHlch(62.95, 65.30, 303.31°)
OKLaboklab(69.51% 0.0629 -0.1539)
OKLCHoklch(69.51% 0.166 292.2)
XYZxyz(40.4738, 31.5285, 94.3771)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A186FA #DFFA86
analogous
#86A5FA #A186FA #DB86FA
triadic
#A186FA #FAA186 #86FAA1
tetradic
#A186FA #FA86A5 #DFFA86 #86FADB
square
#A186FA #FA86A5 #DFFA86 #86FADB
split-complementary
#A186FA #FADB86 #A5FA86
monochromatic
#4610F5 #734BF8 #A186FA #CFC1FC #E8E2FE

Accessibility & contrast

On white

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

On black

7.31
#A186FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A186FA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A186FA#FFFFFF#000000##000000
##A186FA1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#6096F7
Tritanopia (blue-blind)
#8B9DB4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a186fa;
/* rgb */ color: rgb(161, 134, 250);
/* oklch */ color: oklch(69.5% 0.166 292.2);
Tailwind
colors: {
  custom: {
    50: '#c0a9fc',
    500: '#a186fa',
    950: '#000000',
  },
}
SCSS
$custom: #a186fa;
$custom-light: #c0a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a186fa",
  "rgb": {
    "r": 161,
    "g": 134,
    "b": 250
  },
  "hsl": {
    "h": 253.966,
    "s": 92.063,
    "l": 75.294
  },
  "oklch": {
    "l": 0.69508,
    "c": 0.16631,
    "h": 292.2
  },
  "luminance": 0.31529
}

Semantic roles & 50–950 ramp

primary
#A186FA
secondary
#EEF6D5
accent
#E600B0
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A186FA

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

Preview Lab → · Contrast checker → · Palette generator →

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