#A146D2#A146D2

#A146D2 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.212 H 311.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A146D2
RGBrgb(161, 70, 210)
HSLhsl(279, 61%, 55%)
HSVhsv(279, 67%, 82%)
CMYKcmyk(23.3%, 66.7%, 0%, 17.6%)
CIE-LABlab(47.77, 59.88, -56.42)
CIE-LCHlch(47.77, 82.27, 316.70°)
OKLaboklab(57.59% 0.1403 -0.1592)
OKLCHoklch(57.59% 0.212 311.4)
XYZxyz(28.5188, 16.6112, 62.6642)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A146D2 #77D246
analogous
#5B46D2 #A146D2 #D246BD
triadic
#A146D2 #D2A146 #46D2A1
tetradic
#A146D2 #D25B46 #77D246 #46BDD2
square
#A146D2 #D25B46 #77D246 #46BDD2
split-complementary
#A146D2 #BDD246 #46D25B
monochromatic
#5D1F7F #812BB0 #A146D2 #BA77DE #D3A8EA

Accessibility & contrast

On white

4.86
#A146D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A146D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A146D2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A146D2#FFFFFF#000000##FFFFFF
##A146D21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#9B6386
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a146d2;
/* rgb */ color: rgb(161, 70, 210);
/* oklch */ color: oklch(57.6% 0.212 311.4);
Tailwind
colors: {
  custom: {
    50: '#c180e0',
    500: '#a146d2',
    950: '#000000',
  },
}
SCSS
$custom: #a146d2;
$custom-light: #c180e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a146d2",
  "rgb": {
    "r": 161,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 279,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5759,
    "c": 0.21219,
    "h": 311.4
  },
  "luminance": 0.16611
}

Semantic roles & 50–950 ramp

primary
#A146D2
secondary
#B1D79C
accent
#E4447C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A146D2

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

Preview Lab → · Contrast checker → · Palette generator →

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