#A12DAD#A12DAD

#A12DAD is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.209 H 323.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#A12DAD
RGBrgb(161, 45, 173)
HSLhsl(294, 59%, 43%)
HSVhsv(294, 74%, 68%)
CMYKcmyk(6.9%, 74%, 0%, 32.2%)
CIE-LABlab(41.96, 62.57, -44.16)
CIE-LCHlch(41.96, 76.58, 324.78°)
OKLaboklab(52.7% 0.1685 -0.1232)
OKLCHoklch(52.7% 0.209 323.8)
XYZxyz(23.1785, 12.4724, 40.7136)
Luminance0.1247 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DAD #39AD2D
analogous
#612DAD #A12DAD #AD2D79
triadic
#A12DAD #ADA12D #2DADA1
tetradic
#A12DAD #AD612D #39AD2D #2D79AD
square
#A12DAD #AD612D #39AD2D #2D79AD
split-complementary
#A12DAD #79AD2D #2DAD61
monochromatic
#47144C #74207C #A12DAD #C348CF #D378DC

Accessibility & contrast

On white

6.01
#A12DAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A12DAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DAD
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DAD#FFFFFF#000000##FFFFFF
##A12DAD1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#4468AA
Tritanopia (blue-blind)
#A4446B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12dad;
/* rgb */ color: rgb(161, 45, 173);
/* oklch */ color: oklch(52.7% 0.209 323.8);
Tailwind
colors: {
  custom: {
    50: '#c172c6',
    500: '#a12dad',
    950: '#000000',
  },
}
SCSS
$custom: #a12dad;
$custom-light: #c172c6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12dad",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 173
  },
  "hsl": {
    "h": 294.375,
    "s": 58.716,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52702,
    "c": 0.2087,
    "h": 323.8
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

primary
#A12DAD
secondary
#79C472
accent
#E24655
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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