#A12EA1#A12EA1

#A12EA1 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.198 H 328.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#A12EA1
RGBrgb(161, 46, 161)
HSLhsl(300, 56%, 41%)
HSVhsv(300, 71%, 63%)
CMYKcmyk(0%, 71.4%, 0%, 36.9%)
CIE-LABlab(41.38, 60.15, -37.91)
CIE-LCHlch(41.38, 71.10, 327.78°)
OKLaboklab(52.07% 0.1678 -0.105)
OKLCHoklch(52.07% 0.198 328)
XYZxyz(22.1077, 12.1058, 34.8836)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EA1 #2EA12E
analogous
#672EA1 #A12EA1 #A12E67
triadic
#A12EA1 #A1A12E #2EA1A1
tetradic
#A12EA1 #A1672E #2EA12E #2E67A1
square
#A12EA1 #A1672E #2EA12E #2E67A1
split-complementary
#A12EA1 #67A12E #2EA167
monochromatic
#421342 #712071 #A12EA1 #C943C9 #D773D7

Accessibility & contrast

On white

6.14
#A12EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A12EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EA1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EA1#FFFFFF#000000##FFFFFF
##A12EA11.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1958A4
Deuteranopia (green-blind)
#4C679E
Tritanopia (blue-blind)
#A63F65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ea1;
/* rgb */ color: rgb(161, 46, 161);
/* oklch */ color: oklch(52.1% 0.198 328.0);
Tailwind
colors: {
  custom: {
    50: '#c072bd',
    500: '#a12ea1',
    950: '#000000',
  },
}
SCSS
$custom: #a12ea1;
$custom-light: #c072bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ea1",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 300,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52068,
    "c": 0.19792,
    "h": 328
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#A12EA1
secondary
#6CBE6C
accent
#DF4949
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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