#A12992#A12992

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

Color values

HEX#A12992
RGBrgb(161, 41, 146)
HSLhsl(308, 59%, 40%)
HSVhsv(308, 75%, 63%)
CMYKcmyk(0%, 74.5%, 9.3%, 36.9%)
CIE-LABlab(39.98, 59.42, -31.07)
CIE-LCHlch(39.98, 67.06, 332.40°)
OKLaboklab(50.8% 0.1721 -0.0852)
OKLCHoklch(50.8% 0.192 333.7)
XYZxyz(20.6793, 11.2400, 28.2690)
Luminance0.1124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12992 #29A138
analogous
#7429A1 #A12992 #A12956
triadic
#A12992 #92A129 #2992A1
tetradic
#A12992 #A17429 #29A138 #2956A1
square
#A12992 #A17429 #29A138 #2956A1
split-complementary
#A12992 #56A129 #29A174
monochromatic
#3F103A #701D66 #A12992 #CD3ABB #D96BCC

Accessibility & contrast

On white

6.47
#A12992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12992
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12992#FFFFFF#000000##FFFFFF
##A129921.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255395
Deuteranopia (green-blind)
#52648F
Tritanopia (blue-blind)
#A9355B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12992;
/* rgb */ color: rgb(161, 41, 146);
/* oklch */ color: oklch(50.8% 0.192 333.7);
Tailwind
colors: {
  custom: {
    50: '#c06fb2',
    500: '#a12992',
    950: '#000000',
  },
}
SCSS
$custom: #a12992;
$custom-light: #c06fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12992",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 307.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.508,
    "c": 0.19204,
    "h": 333.7
  },
  "luminance": 0.11238
}

Semantic roles & 50–950 ramp

primary
#A12992
secondary
#66C071
accent
#E35945
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12992

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

Preview Lab → · Contrast checker → · Palette generator →

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