#A12AAA#A12AAA

#A12AAA is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.3% C 0.209 H 324.9°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#A12AAA
RGBrgb(161, 42, 170)
HSLhsl(296, 60%, 42%)
HSVhsv(296, 75%, 67%)
CMYKcmyk(5.3%, 75.3%, 0%, 33.3%)
CIE-LABlab(41.43, 63.03, -43.21)
CIE-LCHlch(41.43, 76.42, 325.57°)
OKLaboklab(52.27% 0.1714 -0.1204)
OKLCHoklch(52.27% 0.209 324.9)
XYZxyz(22.7810, 12.1368, 39.1651)
Luminance0.1213 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AAA #33AA2A
analogous
#612AAA #A12AAA #AA2A73
triadic
#A12AAA #AAA12A #2AAAA1
tetradic
#A12AAA #AA612A #33AA2A #2A73AA
square
#A12AAA #AA612A #33AA2A #2A73AA
split-complementary
#A12AAA #73AA2A #2AAA61
monochromatic
#441248 #731E79 #A12AAA #C641D0 #D572DC

Accessibility & contrast

On white

6.13
#A12AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A12AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AAA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AAA#FFFFFF#000000##FFFFFF
##A12AAA1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#4567A7
Tritanopia (blue-blind)
#A54169
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12aaa;
/* rgb */ color: rgb(161, 42, 170);
/* oklch */ color: oklch(52.3% 0.209 324.9);
Tailwind
colors: {
  custom: {
    50: '#c171c4',
    500: '#a12aaa',
    950: '#000000',
  },
}
SCSS
$custom: #a12aaa;
$custom-light: #c171c4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12aaa",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 295.781,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5227,
    "c": 0.20941,
    "h": 324.9
  },
  "luminance": 0.12135
}

Semantic roles & 50–950 ramp

primary
#A12AAA
secondary
#72C36C
accent
#E4444F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A12AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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