#A12EA0#A12EA0

#A12EA0 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.197 H 328.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A12EA0
RGBrgb(161, 46, 160)
HSLhsl(301, 56%, 41%)
HSVhsv(301, 71%, 63%)
CMYKcmyk(0%, 71.4%, 0.6%, 36.9%)
CIE-LABlab(41.33, 59.98, -37.40)
CIE-LCHlch(41.33, 70.69, 328.05°)
OKLaboklab(52.01% 0.1678 -0.1035)
OKLCHoklch(52.01% 0.197 328.3)
XYZxyz(22.0198, 12.0707, 34.4210)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EA0 #2EA12F
analogous
#682EA1 #A12EA0 #A12E66
triadic
#A12EA0 #A0A12E #2EA0A1
tetradic
#A12EA0 #A1682E #2EA12F #2E66A1
square
#A12EA0 #A1682E #2EA12F #2E66A1
split-complementary
#A12EA0 #66A12E #2EA168
monochromatic
#421341 #712071 #A12EA0 #C943C8 #D773D6

Accessibility & contrast

On white

6.15
#A12EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A12EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EA0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EA0#FFFFFF#000000##FFFFFF
##A12EA01.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B58A3
Deuteranopia (green-blind)
#4D679D
Tritanopia (blue-blind)
#A63F64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12ea0;
/* rgb */ color: rgb(161, 46, 160);
/* oklch */ color: oklch(52.0% 0.197 328.3);
Tailwind
colors: {
  custom: {
    50: '#c072bc',
    500: '#a12ea0',
    950: '#000000',
  },
}
SCSS
$custom: #a12ea0;
$custom-light: #c072bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ea0",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 300.522,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.5201,
    "c": 0.19713,
    "h": 328.3
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#A12EA0
secondary
#6CBE6D
accent
#DF4A49
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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