#A12EB9#A12EB9

#A12EB9 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.218 H 320.0°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A12EB9
RGBrgb(161, 46, 185)
HSLhsl(290, 60%, 45%)
HSVhsv(290, 75%, 73%)
CMYKcmyk(13%, 75.1%, 0%, 27.5%)
CIE-LABlab(42.82, 64.39, -49.87)
CIE-LCHlch(42.82, 81.45, 322.24°)
OKLaboklab(53.55% 0.1667 -0.1399)
OKLCHoklch(53.55% 0.218 320)
XYZxyz(24.4308, 13.0351, 47.1187)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EB9 #46B92E
analogous
#5B2EB9 #A12EB9 #B92E8C
triadic
#A12EB9 #B9A12E #2EB9A1
tetradic
#A12EB9 #B95B2E #46B92E #2E8CB9
square
#A12EB9 #B95B2E #46B92E #2E8CB9
split-complementary
#A12EB9 #8CB92E #2EB95B
monochromatic
#4C1657 #762288 #A12EB9 #BD51D4 #D082E0

Accessibility & contrast

On white

5.82
#A12EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A12EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EB9
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EB9#FFFFFF#000000##FFFFFF
##A12EB91.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#3B69B6
Tritanopia (blue-blind)
#A14A72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a12eb9;
/* rgb */ color: rgb(161, 46, 185);
/* oklch */ color: oklch(53.5% 0.218 320.0);
Tailwind
colors: {
  custom: {
    50: '#c173cf',
    500: '#a12eb9',
    950: '#000000',
  },
}
SCSS
$custom: #a12eb9;
$custom-light: #c173cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a12eb9",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 289.64,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53549,
    "c": 0.21758,
    "h": 320
  },
  "luminance": 0.13034
}

Semantic roles & 50–950 ramp

primary
#A12EB9
secondary
#88C97A
accent
#E34460
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A12EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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