#A12A90#A12A90

#A12A90 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.189 H 334.5°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A12A90
RGBrgb(161, 42, 144)
HSLhsl(309, 59%, 40%)
HSVhsv(309, 74%, 63%)
CMYKcmyk(0%, 73.9%, 10.6%, 36.9%)
CIE-LABlab(40.00, 58.79, -29.83)
CIE-LCHlch(40.00, 65.92, 333.10°)
OKLaboklab(50.78% 0.171 -0.0816)
OKLCHoklch(50.78% 0.189 334.5)
XYZxyz(20.5602, 11.2484, 27.4685)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A90 #2AA13B
analogous
#762AA1 #A12A90 #A12A55
triadic
#A12A90 #90A12A #2A90A1
tetradic
#A12A90 #A1762A #2AA13B #2A55A1
square
#A12A90 #A1762A #2AA13B #2A55A1
split-complementary
#A12A90 #55A12A #2AA176
monochromatic
#401139 #701D65 #A12A90 #CC3CB8 #D96DC9

Accessibility & contrast

On white

6.46
#A12A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A12A90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A90
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A90#FFFFFF#000000##FFFFFF
##A12A901.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285393
Deuteranopia (green-blind)
#53648D
Tritanopia (blue-blind)
#A9345A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12a90;
/* rgb */ color: rgb(161, 42, 144);
/* oklch */ color: oklch(50.8% 0.189 334.5);
Tailwind
colors: {
  custom: {
    50: '#c070b1',
    500: '#a12a90',
    950: '#000000',
  },
}
SCSS
$custom: #a12a90;
$custom-light: #c070b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a90",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 308.571,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50777,
    "c": 0.18948,
    "h": 334.5
  },
  "luminance": 0.11247
}

Semantic roles & 50–950 ramp

primary
#A12A90
secondary
#67C074
accent
#E25C46
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12A90

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

Preview Lab → · Contrast checker → · Palette generator →

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