#A12EB4#A12EB4

#A12EB4 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.2% C 0.213 H 321.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A12EB4
RGBrgb(161, 46, 180)
HSLhsl(291, 59%, 44%)
HSVhsv(291, 74%, 71%)
CMYKcmyk(10.6%, 74.4%, 0%, 29.4%)
CIE-LABlab(42.50, 63.48, -47.43)
CIE-LCHlch(42.50, 79.24, 323.23°)
OKLaboklab(53.23% 0.1671 -0.1327)
OKLCHoklch(53.23% 0.213 321.5)
XYZxyz(23.9122, 12.8277, 44.3876)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EB4 #41B42E
analogous
#5E2EB4 #A12EB4 #B42E84
triadic
#A12EB4 #B4A12E #2EB4A1
tetradic
#A12EB4 #B45E2E #41B42E #2E84B4
square
#A12EB4 #B45E2E #41B42E #2E84B4
split-complementary
#A12EB4 #84B42E #2EB45E
monochromatic
#4A1553 #752283 #A12EB4 #BF4ED2 #D17EDE

Accessibility & contrast

On white

5.89
#A12EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#A12EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EB4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EB4#FFFFFF#000000##FFFFFF
##A12EB41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB8
Deuteranopia (green-blind)
#3F68B1
Tritanopia (blue-blind)
#A3486F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12eb4;
/* rgb */ color: rgb(161, 46, 180);
/* oklch */ color: oklch(53.2% 0.213 321.5);
Tailwind
colors: {
  custom: {
    50: '#c173cb',
    500: '#a12eb4',
    950: '#000000',
  },
}
SCSS
$custom: #a12eb4;
$custom-light: #c173cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a12eb4",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 180
  },
  "hsl": {
    "h": 291.493,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.21341,
    "h": 321.5
  },
  "luminance": 0.12826
}

Semantic roles & 50–950 ramp

primary
#A12EB4
secondary
#82C777
accent
#E2455C
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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