#A186F1#A186F1

#A186F1 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.0% C 0.154 H 293.6°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#A186F1
RGBrgb(161, 134, 241)
HSLhsl(255, 79%, 74%)
HSVhsv(255, 44%, 95%)
CMYKcmyk(33.2%, 44.4%, 0%, 5.5%)
CIE-LABlab(62.49, 33.54, -50.35)
CIE-LCHlch(62.49, 60.50, 303.67°)
OKLaboklab(69.01% 0.0618 -0.1416)
OKLCHoklch(69.01% 0.155 293.6)
XYZxyz(39.0962, 30.9774, 87.1214)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A186F1 #D6F186
analogous
#86A0F1 #A186F1 #D686F1
triadic
#A186F1 #F1A186 #86F1A1
tetradic
#A186F1 #F186A0 #D6F186 #86F1D6
square
#A186F1 #F186A0 #D6F186 #86F1D6
split-complementary
#A186F1 #F1D686 #A0F186
monochromatic
#4D1AE2 #764FEB #A186F1 #CCBDF7 #EAE4FC

Accessibility & contrast

On white

2.92
#A186F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#A186F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A186F1
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A186F1#FFFFFF#000000##000000
##A186F11.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6398F5
Deuteranopia (green-blind)
#6795EE
Tritanopia (blue-blind)
#8E9AB0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #a186f1;
/* rgb */ color: rgb(161, 134, 241);
/* oklch */ color: oklch(69.0% 0.154 293.6);
Tailwind
colors: {
  custom: {
    50: '#c0a9f6',
    500: '#a186f1',
    950: '#000000',
  },
}
SCSS
$custom: #a186f1;
$custom-light: #c0a9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a186f1",
  "rgb": {
    "r": 161,
    "g": 134,
    "b": 241
  },
  "hsl": {
    "h": 255.14,
    "s": 79.259,
    "l": 73.529
  },
  "oklch": {
    "l": 0.6901,
    "c": 0.1545,
    "h": 293.6
  },
  "luminance": 0.30978
}

Semantic roles & 50–950 ramp

primary
#A186F1
secondary
#EDF4D7
accent
#DC0AA7
background
#FCFAFF
surface
#F8F4FE
border
#D1CED6
text
#121017
muted
#817F85

Preview Lab

Preview with #A186F1

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

Preview Lab → · Contrast checker → · Palette generator →

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