#A12394#A12394

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

Color values

HEX#A12394
RGBrgb(161, 35, 148)
HSLhsl(306, 64%, 38%)
HSVhsv(306, 78%, 63%)
CMYKcmyk(0%, 78.3%, 8.1%, 36.9%)
CIE-LABlab(39.44, 61.57, -33.13)
CIE-LCHlch(39.44, 69.92, 331.71°)
OKLaboklab(50.45% 0.1776 -0.0911)
OKLCHoklch(50.45% 0.2 332.9)
XYZxyz(20.6444, 10.9190, 29.0315)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12394 #23A130
analogous
#6F23A1 #A12394 #A12355
triadic
#A12394 #94A123 #2394A1
tetradic
#A12394 #A16F23 #23A130 #2355A1
square
#A12394 #A16F23 #23A130 #2355A1
split-complementary
#A12394 #55A123 #23A16F
monochromatic
#3C0D38 #6F1866 #A12394 #D22FC1 #DD62D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12394#FFFFFF#000000##FFFFFF
##A123941.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)
#1C5297
Deuteranopia (green-blind)
#4F6391
Tritanopia (blue-blind)
#A8325A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12394;
/* rgb */ color: rgb(161, 35, 148);
/* oklch */ color: oklch(50.4% 0.200 332.9);
Tailwind
colors: {
  custom: {
    50: '#c16db4',
    500: '#a12394',
    950: '#000000',
  },
}
SCSS
$custom: #a12394;
$custom-light: #c16db4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12394",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 306.19,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.19961,
    "h": 332.9
  },
  "luminance": 0.10917
}

Semantic roles & 50–950 ramp

primary
#A12394
secondary
#5EC268
accent
#E75241
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12394

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

Preview Lab → · Contrast checker → · Palette generator →

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