#A186FC#A186FC

#A186FC is a light, vivid violet. Relative luminance 0.317; OKLCH L 69.6% C 0.169 H 292.0°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#A186FC
RGBrgb(161, 134, 252)
HSLhsl(254, 95%, 76%)
HSVhsv(254, 47%, 99%)
CMYKcmyk(36.1%, 46.8%, 0%, 1.2%)
CIE-LABlab(63.06, 36.38, -55.50)
CIE-LCHlch(63.06, 66.36, 303.25°)
OKLaboklab(69.62% 0.0632 -0.1567)
OKLCHoklch(69.62% 0.169 292)
XYZxyz(40.7891, 31.6546, 96.0375)
Luminance0.3166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A186FC #E1FC86
analogous
#86A6FC #A186FC #DC86FC
triadic
#A186FC #FCA186 #86FCA1
tetradic
#A186FC #FC86A6 #E1FC86 #86FCDC
square
#A186FC #FC86A6 #E1FC86 #86FCDC
split-complementary
#A186FC #FCDC86 #A6FC86
monochromatic
#440FF9 #734AFB #A186FC #CFC2FD #E8E1FE

Accessibility & contrast

On white

2.86
#A186FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#A186FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A186FC
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A186FC#FFFFFF#000000##000000
##A186FC1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#8A9DB5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #a186fc;
/* rgb */ color: rgb(161, 134, 252);
/* oklch */ color: oklch(69.6% 0.169 292.0);
Tailwind
colors: {
  custom: {
    50: '#c0a9fe',
    500: '#a186fc',
    950: '#000000',
  },
}
SCSS
$custom: #a186fc;
$custom-light: #c0a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a186fc",
  "rgb": {
    "r": 161,
    "g": 134,
    "b": 252
  },
  "hsl": {
    "h": 253.729,
    "s": 95.161,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69622,
    "c": 0.16892,
    "h": 292
  },
  "luminance": 0.31656
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A186FC

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

Preview Lab → · Contrast checker → · Palette generator →

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