#A12AAD#A12AAD

#A12AAD is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.212 H 323.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A12AAD
RGBrgb(161, 42, 173)
HSLhsl(295, 61%, 42%)
HSVhsv(295, 76%, 68%)
CMYKcmyk(6.9%, 75.7%, 0%, 32.2%)
CIE-LABlab(41.61, 63.55, -44.71)
CIE-LCHlch(41.61, 77.70, 324.87°)
OKLaboklab(52.46% 0.1712 -0.1247)
OKLCHoklch(52.46% 0.212 323.9)
XYZxyz(23.0681, 12.2516, 40.6768)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AAD #36AD2A
analogous
#602AAD #A12AAD #AD2A77
triadic
#A12AAD #ADA12A #2AADA1
tetradic
#A12AAD #AD602A #36AD2A #2A77AD
square
#A12AAD #AD602A #36AD2A #2A77AD
split-complementary
#A12AAD #77AD2A #2AAD60
monochromatic
#45124B #731E7C #A12AAD #C443D1 #D474DD

Accessibility & contrast

On white

6.09
#A12AAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A12AAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AAD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AAD#FFFFFF#000000##FFFFFF
##A12AAD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#4367AA
Tritanopia (blue-blind)
#A4426A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12aad;
/* rgb */ color: rgb(161, 42, 173);
/* oklch */ color: oklch(52.5% 0.212 323.9);
Tailwind
colors: {
  custom: {
    50: '#c171c6',
    500: '#a12aad',
    950: '#000000',
  },
}
SCSS
$custom: #a12aad;
$custom-light: #c171c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12aad",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 173
  },
  "hsl": {
    "h": 294.504,
    "s": 60.93,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52457,
    "c": 0.21181,
    "h": 323.9
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#A12AAD
secondary
#76C56E
accent
#E44452
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12AAD

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

Preview Lab → · Contrast checker → · Palette generator →

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