#A12EB6#A12EB6

#A12EB6 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.215 H 320.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A12EB6
RGBrgb(161, 46, 182)
HSLhsl(291, 60%, 45%)
HSVhsv(291, 75%, 71%)
CMYKcmyk(11.5%, 74.7%, 0%, 28.6%)
CIE-LABlab(42.63, 63.84, -48.41)
CIE-LCHlch(42.63, 80.12, 322.83°)
OKLaboklab(53.36% 0.1669 -0.1356)
OKLCHoklch(53.36% 0.215 320.9)
XYZxyz(24.1175, 12.9098, 45.4684)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EB6 #43B62E
analogous
#5D2EB6 #A12EB6 #B62E87
triadic
#A12EB6 #B6A12E #2EB6A1
tetradic
#A12EB6 #B65D2E #43B62E #2E87B6
square
#A12EB6 #B65D2E #43B62E #2E87B6
split-complementary
#A12EB6 #87B62E #2EB65D
monochromatic
#4B1554 #762285 #A12EB6 #BE4FD2 #D080DF

Accessibility & contrast

On white

5.86
#A12EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A12EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EB6
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EB6#FFFFFF#000000##FFFFFF
##A12EB61.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#3E69B3
Tritanopia (blue-blind)
#A24970
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a12eb6;
/* rgb */ color: rgb(161, 46, 182);
/* oklch */ color: oklch(53.4% 0.215 320.9);
Tailwind
colors: {
  custom: {
    50: '#c173cc',
    500: '#a12eb6',
    950: '#000000',
  },
}
SCSS
$custom: #a12eb6;
$custom-light: #c173cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12eb6",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 182
  },
  "hsl": {
    "h": 290.735,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53355,
    "c": 0.21508,
    "h": 320.9
  },
  "luminance": 0.12908
}

Semantic roles & 50–950 ramp

primary
#A12EB6
secondary
#84C878
accent
#E3455D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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