#A12BB6#A12BB6

#A12BB6 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.218 H 321.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A12BB6
RGBrgb(161, 43, 182)
HSLhsl(291, 62%, 44%)
HSVhsv(291, 76%, 71%)
CMYKcmyk(11.5%, 76.4%, 0%, 28.6%)
CIE-LABlab(42.28, 64.83, -48.96)
CIE-LCHlch(42.28, 81.24, 322.94°)
OKLaboklab(53.11% 0.1696 -0.1372)
OKLCHoklch(53.11% 0.218 321)
XYZxyz(24.0043, 12.6835, 45.4307)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BB6 #40B62B
analogous
#5C2BB6 #A12BB6 #B62B86
triadic
#A12BB6 #B6A12B #2BB6A1
tetradic
#A12BB6 #B65C2B #40B62B #2B86B6
square
#A12BB6 #B65C2B #40B62B #2B86B6
split-complementary
#A12BB6 #86B62B #2BB65C
monochromatic
#491453 #751F84 #A12BB6 #BF4AD4 #D17BE0

Accessibility & contrast

On white

5.94
#A12BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A12BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BB6
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BB6#FFFFFF#000000##FFFFFF
##A12BB61.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#3C68B3
Tritanopia (blue-blind)
#A24770
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12bb6;
/* rgb */ color: rgb(161, 43, 182);
/* oklch */ color: oklch(53.1% 0.218 321.0);
Tailwind
colors: {
  custom: {
    50: '#c172cc',
    500: '#a12bb6',
    950: '#000000',
  },
}
SCSS
$custom: #a12bb6;
$custom-light: #c172cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bb6",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 182
  },
  "hsl": {
    "h": 290.935,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.21813,
    "h": 321
  },
  "luminance": 0.12682
}

Semantic roles & 50–950 ramp

primary
#A12BB6
secondary
#81C875
accent
#E5435B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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