#A12FAD#A12FAD

#A12FAD is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.207 H 323.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#A12FAD
RGBrgb(161, 47, 173)
HSLhsl(294, 57%, 43%)
HSVhsv(294, 73%, 68%)
CMYKcmyk(6.9%, 72.8%, 0%, 32.2%)
CIE-LABlab(42.20, 61.88, -43.78)
CIE-LCHlch(42.20, 75.80, 324.72°)
OKLaboklab(52.87% 0.1666 -0.1221)
OKLCHoklch(52.87% 0.207 323.8)
XYZxyz(23.2566, 12.6286, 40.7397)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FAD #3BAD2F
analogous
#622FAD #A12FAD #AD2F7A
triadic
#A12FAD #ADA12F #2FADA1
tetradic
#A12FAD #AD622F #3BAD2F #2F7AAD
square
#A12FAD #AD622F #3BAD2F #2F7AAD
split-complementary
#A12FAD #7AAD2F #2FAD62
monochromatic
#47154D #74227D #A12FAD #C24BCE #D27BDB

Accessibility & contrast

On white

5.96
#A12FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A12FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FAD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FAD#FFFFFF#000000##FFFFFF
##A12FAD1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#4568AA
Tritanopia (blue-blind)
#A4456B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12fad;
/* rgb */ color: rgb(161, 47, 173);
/* oklch */ color: oklch(52.9% 0.207 323.8);
Tailwind
colors: {
  custom: {
    50: '#c073c6',
    500: '#a12fad',
    950: '#000000',
  },
}
SCSS
$custom: #a12fad;
$custom-light: #c073c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fad",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 294.286,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.20653,
    "h": 323.8
  },
  "luminance": 0.12627
}

Semantic roles & 50–950 ramp

primary
#A12FAD
secondary
#7CC474
accent
#E14756
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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