#A12492#A12492

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

Color values

HEX#A12492
RGBrgb(161, 36, 146)
HSLhsl(307, 63%, 39%)
HSVhsv(307, 78%, 63%)
CMYKcmyk(0%, 77.6%, 9.3%, 36.9%)
CIE-LABlab(39.44, 60.98, -31.92)
CIE-LCHlch(39.44, 68.83, 332.37°)
OKLaboklab(50.41% 0.1767 -0.0876)
OKLCHoklch(50.41% 0.197 333.6)
XYZxyz(20.5173, 10.9159, 28.2150)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12492 #24A133
analogous
#7124A1 #A12492 #A12453
triadic
#A12492 #92A124 #2492A1
tetradic
#A12492 #A17124 #24A133 #2453A1
square
#A12492 #A17124 #24A133 #2453A1
split-complementary
#A12492 #53A124 #24A171
monochromatic
#3D0E37 #6F1965 #A12492 #D131BE #DC63CE

Accessibility & contrast

On white

6.60
#A12492 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A12492 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12492
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12492#FFFFFF#000000##FFFFFF
##A124921.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12492;
/* rgb */ color: rgb(161, 36, 146);
/* oklch */ color: oklch(50.4% 0.197 333.6);
Tailwind
colors: {
  custom: {
    50: '#c16db2',
    500: '#a12492',
    950: '#000000',
  },
}
SCSS
$custom: #a12492;
$custom-light: #c16db2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12492",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 307.2,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.19721,
    "h": 333.6
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#A12492
secondary
#5FC26B
accent
#E65541
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12492

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

Preview Lab → · Contrast checker → · Palette generator →

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