#A12EB3#A12EB3

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

Color values

HEX#A12EB3
RGBrgb(161, 46, 179)
HSLhsl(292, 59%, 44%)
HSVhsv(292, 74%, 70%)
CMYKcmyk(10.1%, 74.3%, 0%, 29.8%)
CIE-LABlab(42.44, 63.30, -46.94)
CIE-LCHlch(42.44, 78.80, 323.44°)
OKLaboklab(53.16% 0.1672 -0.1313)
OKLCHoklch(53.16% 0.213 321.9)
XYZxyz(23.8107, 12.7871, 43.8531)
Luminance0.1279 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EB3 #40B32E
analogous
#5F2EB3 #A12EB3 #B32E83
triadic
#A12EB3 #B3A12E #2EB3A1
tetradic
#A12EB3 #B35F2E #40B32E #2E83B3
square
#A12EB3 #B35F2E #40B32E #2E83B3
split-complementary
#A12EB3 #83B32E #2EB35F
monochromatic
#491552 #752182 #A12EB3 #BF4DD1 #D17EDE

Accessibility & contrast

On white

5.90
#A12EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A12EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EB3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EB3#FFFFFF#000000##FFFFFF
##A12EB31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#4068B0
Tritanopia (blue-blind)
#A3486F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12eb3;
/* rgb */ color: rgb(161, 46, 179);
/* oklch */ color: oklch(53.2% 0.213 321.9);
Tailwind
colors: {
  custom: {
    50: '#c173ca',
    500: '#a12eb3',
    950: '#000000',
  },
}
SCSS
$custom: #a12eb3;
$custom-light: #c173ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a12eb3",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 291.88,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53163,
    "c": 0.21258,
    "h": 321.9
  },
  "luminance": 0.12786
}

Semantic roles & 50–950 ramp

primary
#A12EB3
secondary
#81C676
accent
#E2465B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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