#A12392#A12392

#A12392 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.198 H 333.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A12392
RGBrgb(161, 35, 146)
HSLhsl(307, 64%, 38%)
HSVhsv(307, 78%, 63%)
CMYKcmyk(0%, 78.3%, 9.3%, 36.9%)
CIE-LABlab(39.34, 61.27, -32.08)
CIE-LCHlch(39.34, 69.16, 332.36°)
OKLaboklab(50.34% 0.1775 -0.088)
OKLCHoklch(50.34% 0.198 333.6)
XYZxyz(20.4875, 10.8563, 28.2050)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12392 #23A132
analogous
#7123A1 #A12392 #A12353
triadic
#A12392 #92A123 #2392A1
tetradic
#A12392 #A17123 #23A132 #2353A1
square
#A12392 #A17123 #23A132 #2353A1
split-complementary
#A12392 #53A123 #23A171
monochromatic
#3C0D37 #6F1864 #A12392 #D22FBF #DD62CE

Accessibility & contrast

On white

6.62
#A12392 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A12392 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12392
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12392#FFFFFF#000000##FFFFFF
##A123921.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5195
Deuteranopia (green-blind)
#50638F
Tritanopia (blue-blind)
#A93059
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12392;
/* rgb */ color: rgb(161, 35, 146);
/* oklch */ color: oklch(50.3% 0.198 333.6);
Tailwind
colors: {
  custom: {
    50: '#c16db2',
    500: '#a12392',
    950: '#000000',
  },
}
SCSS
$custom: #a12392;
$custom-light: #c16db2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12392",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 307.143,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50338,
    "c": 0.19817,
    "h": 333.6
  },
  "luminance": 0.10854
}

Semantic roles & 50–950 ramp

primary
#A12392
secondary
#5EC26A
accent
#E75441
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12392

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

Preview Lab → · Contrast checker → · Palette generator →

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