#A12EA6#A12EA6

#A12EA6 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.202 H 326.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#A12EA6
RGBrgb(161, 46, 166)
HSLhsl(298, 57%, 42%)
HSVhsv(298, 72%, 65%)
CMYKcmyk(3%, 72.3%, 0%, 34.9%)
CIE-LABlab(41.67, 61.00, -40.46)
CIE-LCHlch(41.67, 73.20, 326.45°)
OKLaboklab(52.36% 0.1678 -0.1124)
OKLCHoklch(52.36% 0.202 326.2)
XYZxyz(22.5574, 12.2857, 37.2523)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EA6 #33A62E
analogous
#652EA6 #A12EA6 #A62E6F
triadic
#A12EA6 #A6A12E #2EA6A1
tetradic
#A12EA6 #A6652E #33A62E #2E6FA6
square
#A12EA6 #A6652E #33A62E #2E6FA6
split-complementary
#A12EA6 #6FA62E #2EA665
monochromatic
#441346 #732176 #A12EA6 #C646CC #D576D9

Accessibility & contrast

On white

6.07
#A12EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A12EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EA6
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EA6#FFFFFF#000000##FFFFFF
##A12EA61.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F59A9
Deuteranopia (green-blind)
#4967A3
Tritanopia (blue-blind)
#A54267
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ea6;
/* rgb */ color: rgb(161, 46, 166);
/* oklch */ color: oklch(52.4% 0.202 326.2);
Tailwind
colors: {
  custom: {
    50: '#c072c1',
    500: '#a12ea6',
    950: '#000000',
  },
}
SCSS
$custom: #a12ea6;
$custom-light: #c072c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ea6",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 297.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52362,
    "c": 0.20193,
    "h": 326.2
  },
  "luminance": 0.12284
}

Semantic roles & 50–950 ramp

primary
#A12EA6
secondary
#72C16F
accent
#E0484E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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