#A12BB4#A12BB4

#A12BB4 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.216 H 321.6°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A12BB4
RGBrgb(161, 43, 180)
HSLhsl(292, 61%, 44%)
HSVhsv(292, 76%, 71%)
CMYKcmyk(10.6%, 76.1%, 0%, 29.4%)
CIE-LABlab(42.16, 64.47, -47.98)
CIE-LCHlch(42.16, 80.37, 323.34°)
OKLaboklab(52.98% 0.1698 -0.1343)
OKLCHoklch(52.98% 0.216 321.6)
XYZxyz(23.7991, 12.6015, 44.3499)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BB4 #3EB42B
analogous
#5C2BB4 #A12BB4 #B42B82
triadic
#A12BB4 #B4A12B #2BB4A1
tetradic
#A12BB4 #B45C2B #3EB42B #2B82B4
square
#A12BB4 #B45C2B #3EB42B #2B82B4
split-complementary
#A12BB4 #82B42B #2BB45C
monochromatic
#491351 #751F83 #A12BB4 #C049D3 #D17ADF

Accessibility & contrast

On white

5.97
#A12BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A12BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BB4
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BB4#FFFFFF#000000##FFFFFF
##A12BB41.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#A3466E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12bb4;
/* rgb */ color: rgb(161, 43, 180);
/* oklch */ color: oklch(53.0% 0.216 321.6);
Tailwind
colors: {
  custom: {
    50: '#c172cb',
    500: '#a12bb4',
    950: '#000000',
  },
}
SCSS
$custom: #a12bb4;
$custom-light: #c172cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bb4",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 291.679,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52981,
    "c": 0.21649,
    "h": 321.6
  },
  "luminance": 0.126
}

Semantic roles & 50–950 ramp

primary
#A12BB4
secondary
#7FC773
accent
#E5435A
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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