#A12391#A12391

#A12391 is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.3% C 0.197 H 334.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A12391
RGBrgb(161, 35, 145)
HSLhsl(308, 64%, 38%)
HSVhsv(308, 78%, 63%)
CMYKcmyk(0%, 78.3%, 9.9%, 36.9%)
CIE-LABlab(39.28, 61.12, -31.56)
CIE-LCHlch(39.28, 68.78, 332.69°)
OKLaboklab(50.28% 0.1775 -0.0865)
OKLCHoklch(50.28% 0.197 334)
XYZxyz(20.4100, 10.8253, 27.7971)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12391 #23A133
analogous
#7223A1 #A12391 #A12352
triadic
#A12391 #91A123 #2391A1
tetradic
#A12391 #A17223 #23A133 #2352A1
square
#A12391 #A17223 #23A133 #2352A1
split-complementary
#A12391 #52A123 #23A172
monochromatic
#3C0D36 #6F1864 #A12391 #D22FBD #DD62CD

Accessibility & contrast

On white

6.64
#A12391 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A12391 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12391
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12391#FFFFFF#000000##FFFFFF
##A123911.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5194
Deuteranopia (green-blind)
#50638E
Tritanopia (blue-blind)
#A93059
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12391;
/* rgb */ color: rgb(161, 35, 145);
/* oklch */ color: oklch(50.3% 0.197 334.0);
Tailwind
colors: {
  custom: {
    50: '#c16db1',
    500: '#a12391',
    950: '#000000',
  },
}
SCSS
$custom: #a12391;
$custom-light: #c16db1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12391",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 307.619,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50283,
    "c": 0.19746,
    "h": 334
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#A12391
secondary
#5EC26B
accent
#E75641
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130811
muted
#827B80

Preview Lab

Preview with #A12391

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

Preview Lab → · Contrast checker → · Palette generator →

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