#A12AB5#A12AB5

#A12AB5 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.218 H 321.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A12AB5
RGBrgb(161, 42, 181)
HSLhsl(291, 62%, 44%)
HSVhsv(291, 77%, 71%)
CMYKcmyk(11%, 76.8%, 0%, 29%)
CIE-LABlab(42.11, 64.97, -48.65)
CIE-LCHlch(42.11, 81.17, 323.17°)
OKLaboklab(52.97% 0.1705 -0.1363)
OKLCHoklch(52.97% 0.218 321.4)
XYZxyz(23.8655, 12.5705, 44.8764)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AB5 #3EB52A
analogous
#5B2AB5 #A12AB5 #B52A83
triadic
#A12AB5 #B5A12A #2AB5A1
tetradic
#A12AB5 #B55B2A #3EB52A #2A83B5
square
#A12AB5 #B55B2A #3EB52A #2A83B5
split-complementary
#A12AB5 #83B52A #2AB55B
monochromatic
#491352 #751E83 #A12AB5 #C048D4 #D179E0

Accessibility & contrast

On white

5.98
#A12AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A12AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AB5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AB5#FFFFFF#000000##FFFFFF
##A12AB51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3C68B2
Tritanopia (blue-blind)
#A2466F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12ab5;
/* rgb */ color: rgb(161, 42, 181);
/* oklch */ color: oklch(53.0% 0.218 321.4);
Tailwind
colors: {
  custom: {
    50: '#c171cc',
    500: '#a12ab5',
    950: '#000000',
  },
}
SCSS
$custom: #a12ab5;
$custom-light: #c171cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ab5",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 291.367,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52967,
    "c": 0.2183,
    "h": 321.4
  },
  "luminance": 0.12569
}

Semantic roles & 50–950 ramp

primary
#A12AB5
secondary
#7FC873
accent
#E5425A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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