#A186F9#A186F9

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

Color values

HEX#A186F9
RGBrgb(161, 134, 249)
HSLhsl(254, 91%, 75%)
HSVhsv(254, 46%, 98%)
CMYKcmyk(35.3%, 46.2%, 0%, 2.4%)
CIE-LABlab(62.90, 35.60, -54.10)
CIE-LCHlch(62.90, 64.77, 303.35°)
OKLaboklab(69.45% 0.0628 -0.1526)
OKLCHoklch(69.45% 0.165 292.4)
XYZxyz(40.3174, 31.4659, 93.5535)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A186F9 #DEF986
analogous
#86A4F9 #A186F9 #DA86F9
triadic
#A186F9 #F9A186 #86F9A1
tetradic
#A186F9 #F986A4 #DEF986 #86F9DA
square
#A186F9 #F986A4 #DEF986 #86F9DA
split-complementary
#A186F9 #F9DA86 #A4F986
monochromatic
#4611F3 #744CF6 #A186F9 #CEC0FC #E8E2FE

Accessibility & contrast

On white

2.88
#A186F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#A186F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A186F9
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A186F9#FFFFFF#000000##000000
##A186F91.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFD
Deuteranopia (green-blind)
#6196F6
Tritanopia (blue-blind)
#8B9CB4
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a186f9;
/* rgb */ color: rgb(161, 134, 249);
/* oklch */ color: oklch(69.5% 0.165 292.4);
Tailwind
colors: {
  custom: {
    50: '#c0a9fc',
    500: '#a186f9',
    950: '#000000',
  },
}
SCSS
$custom: #a186f9;
$custom-light: #c0a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a186f9",
  "rgb": {
    "r": 161,
    "g": 134,
    "b": 249
  },
  "hsl": {
    "h": 254.087,
    "s": 90.551,
    "l": 75.098
  },
  "oklch": {
    "l": 0.69452,
    "c": 0.165,
    "h": 292.4
  },
  "luminance": 0.31467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A186F9

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

Preview Lab → · Contrast checker → · Palette generator →

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