#A186EB#A186EB

#A186EB is a light, vivid violet. Relative luminance 0.306; OKLCH L 68.7% C 0.147 H 294.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#A186EB
RGBrgb(161, 134, 235)
HSLhsl(256, 72%, 72%)
HSVhsv(256, 43%, 92%)
CMYKcmyk(31.5%, 43%, 0%, 7.8%)
CIE-LABlab(62.19, 32.01, -47.51)
CIE-LCHlch(62.19, 57.28, 303.97°)
OKLaboklab(68.69% 0.0609 -0.1333)
OKLCHoklch(68.69% 0.147 294.5)
XYZxyz(38.2147, 30.6248, 82.4790)
Luminance0.3063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A186EB #D0EB86
analogous
#869DEB #A186EB #D486EB
triadic
#A186EB #EBA186 #86EBA1
tetradic
#A186EB #EB869D #D0EB86 #86EBD4
square
#A186EB #EB869D #D0EB86 #86EBD4
split-complementary
#A186EB #EBD486 #9DEB86
monochromatic
#5223D4 #7851E2 #A186EB #CABBF4 #EBE5FB

Accessibility & contrast

On white

2.95
#A186EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#A186EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A186EB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A186EB#FFFFFF#000000##000000
##A186EB1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#6B95E9
Tritanopia (blue-blind)
#9099AD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #a186eb;
/* rgb */ color: rgb(161, 134, 235);
/* oklch */ color: oklch(68.7% 0.147 294.5);
Tailwind
colors: {
  custom: {
    50: '#bfa9f2',
    500: '#a186eb',
    950: '#000000',
  },
}
SCSS
$custom: #a186eb;
$custom-light: #bfa9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a186eb",
  "rgb": {
    "r": 161,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 256.04,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68687,
    "c": 0.14656,
    "h": 294.5
  },
  "luminance": 0.30625
}

Semantic roles & 50–950 ramp

primary
#A186EB
secondary
#EBF2D9
accent
#D412A0
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A186EB

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

Preview Lab → · Contrast checker → · Palette generator →

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