#A12BA0#A12BA0

#A12BA0 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.200 H 328.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A12BA0
RGBrgb(161, 43, 160)
HSLhsl(301, 58%, 40%)
HSVhsv(301, 73%, 63%)
CMYKcmyk(0%, 73.3%, 0.6%, 36.9%)
CIE-LABlab(40.97, 61.01, -37.97)
CIE-LCHlch(40.97, 71.86, 328.10°)
OKLaboklab(51.75% 0.1707 -0.1051)
OKLCHoklch(51.75% 0.2 328.4)
XYZxyz(21.9067, 11.8445, 34.3833)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BA0 #2BA12C
analogous
#672BA1 #A12BA0 #A12B65
triadic
#A12BA0 #A0A12B #2BA0A1
tetradic
#A12BA0 #A1672B #2BA12C #2B65A1
square
#A12BA0 #A1672B #2BA12C #2B65A1
split-complementary
#A12BA0 #65A12B #2BA167
monochromatic
#401140 #711E70 #A12BA0 #CB3ECA #D86ED7

Accessibility & contrast

On white

6.23
#A12BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A12BA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BA0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BA0#FFFFFF#000000##FFFFFF
##A12BA01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1557A3
Deuteranopia (green-blind)
#4C669D
Tritanopia (blue-blind)
#A63D63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12ba0;
/* rgb */ color: rgb(161, 43, 160);
/* oklch */ color: oklch(51.8% 0.200 328.4);
Tailwind
colors: {
  custom: {
    50: '#c071bc',
    500: '#a12ba0',
    950: '#000000',
  },
}
SCSS
$custom: #a12ba0;
$custom-light: #c071bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ba0",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 300.508,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.20046,
    "h": 328.4
  },
  "luminance": 0.11843
}

Semantic roles & 50–950 ramp

primary
#A12BA0
secondary
#69BF69
accent
#E14847
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A12BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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