#A12BAE#A12BAE

#A12BAE is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.212 H 323.6°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#A12BAE
RGBrgb(161, 43, 174)
HSLhsl(294, 60%, 43%)
HSVhsv(294, 75%, 68%)
CMYKcmyk(7.5%, 75.3%, 0%, 31.8%)
CIE-LABlab(41.79, 63.41, -45.03)
CIE-LCHlch(41.79, 77.77, 324.62°)
OKLaboklab(52.6% 0.1702 -0.1257)
OKLCHoklch(52.6% 0.212 323.6)
XYZxyz(23.2011, 12.3622, 41.2003)
Luminance0.1236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BAE #38AE2B
analogous
#602BAE #A12BAE #AE2B79
triadic
#A12BAE #AEA12B #2BAEA1
tetradic
#A12BAE #AE602B #38AE2B #2B79AE
square
#A12BAE #AE602B #38AE2B #2B79AE
split-complementary
#A12BAE #79AE2B #2BAE60
monochromatic
#46134C #741F7D #A12BAE #C345D1 #D376DD

Accessibility & contrast

On white

6.05
#A12BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#A12BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BAE
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BAE#FFFFFF#000000##FFFFFF
##A12BAE1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#4267AB
Tritanopia (blue-blind)
#A4446B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12bae;
/* rgb */ color: rgb(161, 43, 174);
/* oklch */ color: oklch(52.6% 0.212 323.6);
Tailwind
colors: {
  custom: {
    50: '#c171c7',
    500: '#a12bae',
    950: '#000000',
  },
}
SCSS
$custom: #a12bae;
$custom-light: #c171c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bae",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 294.046,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52599,
    "c": 0.21161,
    "h": 323.6
  },
  "luminance": 0.12361
}

Semantic roles & 50–950 ramp

primary
#A12BAE
secondary
#78C570
accent
#E44454
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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