#A12A9B#A12A9B

#A12A9B is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.198 H 330.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A12A9B
RGBrgb(161, 42, 155)
HSLhsl(303, 59%, 40%)
HSVhsv(303, 74%, 63%)
CMYKcmyk(0%, 73.9%, 3.7%, 36.9%)
CIE-LABlab(40.58, 60.52, -35.59)
CIE-LCHlch(40.58, 70.21, 329.54°)
OKLaboklab(51.38% 0.1716 -0.0982)
OKLCHoklch(51.38% 0.198 330.2)
XYZxyz(21.4422, 11.6012, 32.1139)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A9B #2AA130
analogous
#6B2AA1 #A12A9B #A12A60
triadic
#A12A9B #9BA12A #2A9BA1
tetradic
#A12A9B #A16B2A #2AA130 #2A60A1
square
#A12A9B #A16B2A #2AA130 #2A60A1
split-complementary
#A12A9B #60A12A #2AA16B
monochromatic
#40113E #701D6C #A12A9B #CC3CC5 #D96DD3

Accessibility & contrast

On white

6.33
#A12A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A12A9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A9B
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A9B#FFFFFF#000000##FFFFFF
##A12A9B1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C559E
Deuteranopia (green-blind)
#4E6598
Tritanopia (blue-blind)
#A73A60
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12a9b;
/* rgb */ color: rgb(161, 42, 155);
/* oklch */ color: oklch(51.4% 0.198 330.2);
Tailwind
colors: {
  custom: {
    50: '#c070b9',
    500: '#a12a9b',
    950: '#000000',
  },
}
SCSS
$custom: #a12a9b;
$custom-light: #c070b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a9b",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 303.025,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51381,
    "c": 0.19769,
    "h": 330.2
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#A12A9B
secondary
#67C06C
accent
#E24E46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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