#A12EA3#A12EA3

#A12EA3 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.200 H 327.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A12EA3
RGBrgb(161, 46, 163)
HSLhsl(299, 56%, 41%)
HSVhsv(299, 72%, 64%)
CMYKcmyk(1.2%, 71.8%, 0%, 36.1%)
CIE-LABlab(41.50, 60.49, -38.93)
CIE-LCHlch(41.50, 71.94, 327.23°)
OKLaboklab(52.19% 0.1678 -0.1079)
OKLCHoklch(52.19% 0.2 327.2)
XYZxyz(22.2855, 12.1770, 35.8198)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EA3 #30A32E
analogous
#662EA3 #A12EA3 #A32E6A
triadic
#A12EA3 #A3A12E #2EA3A1
tetradic
#A12EA3 #A3662E #30A32E #2E6AA3
square
#A12EA3 #A3662E #30A32E #2E6AA3
split-complementary
#A12EA3 #6AA32E #2EA366
monochromatic
#431344 #722173 #A12EA3 #C844CA #D674D8

Accessibility & contrast

On white

6.11
#A12EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A12EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EA3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EA3#FFFFFF#000000##FFFFFF
##A12EA31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A6
Deuteranopia (green-blind)
#4B67A0
Tritanopia (blue-blind)
#A64066
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ea3;
/* rgb */ color: rgb(161, 46, 163);
/* oklch */ color: oklch(52.2% 0.200 327.2);
Tailwind
colors: {
  custom: {
    50: '#c072bf',
    500: '#a12ea3',
    950: '#000000',
  },
}
SCSS
$custom: #a12ea3;
$custom-light: #c072bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ea3",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 298.974,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.52185,
    "c": 0.19952,
    "h": 327.2
  },
  "luminance": 0.12175
}

Semantic roles & 50–950 ramp

primary
#A12EA3
secondary
#6FBF6D
accent
#DF494B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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