#A146B2#A146B2

#A146B2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.6% C 0.181 H 321.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A146B2
RGBrgb(161, 70, 178)
HSLhsl(291, 44%, 49%)
HSVhsv(291, 61%, 70%)
CMYKcmyk(9.6%, 60.7%, 0%, 30.2%)
CIE-LABlab(45.87, 53.35, -40.88)
CIE-LCHlch(45.87, 67.21, 322.54°)
OKLaboklab(55.61% 0.1409 -0.1138)
OKLCHoklch(55.61% 0.181 321.1)
XYZxyz(24.9231, 15.1729, 43.7267)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A146B2 #57B246
analogous
#6B46B2 #A146B2 #B2468D
triadic
#A146B2 #B2A146 #46B2A1
tetradic
#A146B2 #B26B46 #57B246 #468DB2
square
#A146B2 #B26B46 #57B246 #468DB2
split-complementary
#A146B2 #8DB246 #46B26B
monochromatic
#52235A #793586 #A146B2 #B96FC6 #CE9BD8

Accessibility & contrast

On white

5.21
#A146B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A146B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A146B2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A146B2#FFFFFF#000000##FFFFFF
##A146B21.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#A25775
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a146b2;
/* rgb */ color: rgb(161, 70, 178);
/* oklch */ color: oklch(55.6% 0.181 321.1);
Tailwind
colors: {
  custom: {
    50: '#c07fc9',
    500: '#a146b2',
    950: '#000000',
  },
}
SCSS
$custom: #a146b2;
$custom-light: #c07fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a146b2",
  "rgb": {
    "r": 161,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 290.556,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55611,
    "c": 0.1811,
    "h": 321.1
  },
  "luminance": 0.15172
}

Semantic roles & 50–950 ramp

primary
#A146B2
secondary
#98C490
accent
#D35568
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A146B2

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

Preview Lab → · Contrast checker → · Palette generator →

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