#A12BA4#A12BA4

#A12BA4 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.204 H 326.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#A12BA4
RGBrgb(161, 43, 164)
HSLhsl(299, 58%, 41%)
HSVhsv(299, 74%, 64%)
CMYKcmyk(1.8%, 73.8%, 0%, 35.7%)
CIE-LABlab(41.20, 61.68, -40.01)
CIE-LCHlch(41.20, 73.52, 327.03°)
OKLaboklab(51.99% 0.1707 -0.1111)
OKLCHoklch(51.99% 0.204 326.9)
XYZxyz(22.2623, 11.9867, 36.2559)
Luminance0.1198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BA4 #2EA42B
analogous
#642BA4 #A12BA4 #A42B6B
triadic
#A12BA4 #A4A12B #2BA4A1
tetradic
#A12BA4 #A4642B #2EA42B #2B6BA4
square
#A12BA4 #A4642B #2EA42B #2B6BA4
split-complementary
#A12BA4 #6BA42B #2BA464
monochromatic
#421243 #711E74 #A12BA4 #C93FCD #D770D9

Accessibility & contrast

On white

6.18
#A12BA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A12BA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BA4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BA4#FFFFFF#000000##FFFFFF
##A12BA41.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C58A7
Deuteranopia (green-blind)
#4966A1
Tritanopia (blue-blind)
#A63F65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12ba4;
/* rgb */ color: rgb(161, 43, 164);
/* oklch */ color: oklch(52.0% 0.204 326.9);
Tailwind
colors: {
  custom: {
    50: '#c071bf',
    500: '#a12ba4',
    950: '#000000',
  },
}
SCSS
$custom: #a12ba4;
$custom-light: #c071bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ba4",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 298.512,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51988,
    "c": 0.20361,
    "h": 326.9
  },
  "luminance": 0.11985
}

Semantic roles & 50–950 ramp

primary
#A12BA4
secondary
#6CC16A
accent
#E2464A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A12BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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