#A12AA6#A12AA6

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

Color values

HEX#A12AA6
RGBrgb(161, 42, 166)
HSLhsl(298, 60%, 41%)
HSVhsv(298, 75%, 65%)
CMYKcmyk(3%, 74.7%, 0%, 34.9%)
CIE-LABlab(41.20, 62.35, -41.20)
CIE-LCHlch(41.20, 74.73, 326.54°)
OKLaboklab(52.03% 0.1715 -0.1145)
OKLCHoklch(52.03% 0.206 326.3)
XYZxyz(22.4084, 11.9877, 37.2026)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AA6 #2FA62A
analogous
#632AA6 #A12AA6 #A62A6D
triadic
#A12AA6 #A6A12A #2AA6A1
tetradic
#A12AA6 #A6632A #2FA62A #2A6DA6
square
#A12AA6 #A6632A #2FA62A #2A6DA6
split-complementary
#A12AA6 #6DA62A #2AA663
monochromatic
#421144 #721E75 #A12AA6 #C93FCE #D670DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12AA6#FFFFFF#000000##FFFFFF
##A12AA61.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)
#0258A9
Deuteranopia (green-blind)
#4866A3
Tritanopia (blue-blind)
#A53F66
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12aa6;
/* rgb */ color: rgb(161, 42, 166);
/* oklch */ color: oklch(52.0% 0.206 326.3);
Tailwind
colors: {
  custom: {
    50: '#c171c1',
    500: '#a12aa6',
    950: '#000000',
  },
}
SCSS
$custom: #a12aa6;
$custom-light: #c171c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12aa6",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 166
  },
  "hsl": {
    "h": 297.581,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.20624,
    "h": 326.3
  },
  "luminance": 0.11986
}

Semantic roles & 50–950 ramp

primary
#A12AA6
secondary
#6EC26A
accent
#E3454B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A12AA6

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

Preview Lab → · Contrast checker → · Palette generator →

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