#A12BA9#A12BA9

#A12BA9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.208 H 325.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A12BA9
RGBrgb(161, 43, 169)
HSLhsl(296, 59%, 42%)
HSVhsv(296, 75%, 66%)
CMYKcmyk(4.7%, 74.6%, 0%, 33.7%)
CIE-LABlab(41.49, 62.53, -42.53)
CIE-LCHlch(41.49, 75.63, 325.78°)
OKLaboklab(52.29% 0.1705 -0.1184)
OKLCHoklch(52.29% 0.208 325.2)
XYZxyz(22.7227, 12.1709, 38.6808)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BA9 #33A92B
analogous
#622BA9 #A12BA9 #A92B72
triadic
#A12BA9 #A9A12B #2BA9A1
tetradic
#A12BA9 #A9622B #33A92B #2B72A9
square
#A12BA9 #A9622B #33A92B #2B72A9
split-complementary
#A12BA9 #72A92B #2BA962
monochromatic
#441247 #731F78 #A12BA9 #C642CF #D573DB

Accessibility & contrast

On white

6.12
#A12BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A12BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BA9
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BA9#FFFFFF#000000##FFFFFF
##A12BA91.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#4667A6
Tritanopia (blue-blind)
#A54168
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ba9;
/* rgb */ color: rgb(161, 43, 169);
/* oklch */ color: oklch(52.3% 0.208 325.2);
Tailwind
colors: {
  custom: {
    50: '#c171c3',
    500: '#a12ba9',
    950: '#000000',
  },
}
SCSS
$custom: #a12ba9;
$custom-light: #c171c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ba9",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 296.19,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52289,
    "c": 0.20758,
    "h": 325.2
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

primary
#A12BA9
secondary
#72C36D
accent
#E3454F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A12BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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