#A186FE#A186FE

#A186FE is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.7% C 0.172 H 291.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#A186FE
RGBrgb(161, 134, 254)
HSLhsl(254, 98%, 76%)
HSVhsv(254, 47%, 100%)
CMYKcmyk(36.6%, 47.2%, 0%, 0.4%)
CIE-LABlab(63.16, 36.90, -56.43)
CIE-LCHlch(63.16, 67.42, 303.19°)
OKLaboklab(69.74% 0.0634 -0.1594)
OKLCHoklch(69.74% 0.172 291.7)
XYZxyz(41.1077, 31.7820, 97.7154)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A186FE #E3FE86
analogous
#86A7FE #A186FE #DD86FE
triadic
#A186FE #FEA186 #86FEA1
tetradic
#A186FE #FE86A7 #E3FE86 #86FEDD
square
#A186FE #FE86A7 #E3FE86 #86FEDD
split-complementary
#A186FE #FEDD86 #A7FE86
monochromatic
#430DFD #7249FD #A186FE #D0C3FF #E7E1FF

Accessibility & contrast

On white

2.85
#A186FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#A186FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A186FE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A186FE#FFFFFF#000000##000000
##A186FE1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#5D96FB
Tritanopia (blue-blind)
#899EB6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a186fe;
/* rgb */ color: rgb(161, 134, 254);
/* oklch */ color: oklch(69.7% 0.172 291.7);
Tailwind
colors: {
  custom: {
    50: '#c1a9ff',
    500: '#a186fe',
    950: '#000000',
  },
}
SCSS
$custom: #a186fe;
$custom-light: #c1a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a186fe",
  "rgb": {
    "r": 161,
    "g": 134,
    "b": 254
  },
  "hsl": {
    "h": 253.5,
    "s": 98.361,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69735,
    "c": 0.17151,
    "h": 291.7
  },
  "luminance": 0.31783
}

Semantic roles & 50–950 ramp

primary
#A186FE
secondary
#EFF7D4
accent
#E600B2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A186FE

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

Preview Lab → · Contrast checker → · Palette generator →

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