#A12DAF#A12DAF

#A12DAF is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.210 H 323.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#A12DAF
RGBrgb(161, 45, 175)
HSLhsl(294, 59%, 43%)
HSVhsv(294, 74%, 69%)
CMYKcmyk(8%, 74.3%, 0%, 31.4%)
CIE-LABlab(42.08, 62.92, -45.15)
CIE-LCHlch(42.08, 77.45, 324.34°)
OKLaboklab(52.83% 0.1684 -0.1261)
OKLCHoklch(52.83% 0.21 323.2)
XYZxyz(23.3735, 12.5504, 41.7405)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DAF #3BAF2D
analogous
#602DAF #A12DAF #AF2D7C
triadic
#A12DAF #AFA12D #2DAFA1
tetradic
#A12DAF #AF602D #3BAF2D #2D7CAF
square
#A12DAF #AF602D #3BAF2D #2D7CAF
split-complementary
#A12DAF #7CAF2D #2DAF60
monochromatic
#47144E #74207E #A12DAF #C249D0 #D27ADD

Accessibility & contrast

On white

5.98
#A12DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#A12DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DAF
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DAF#FFFFFF#000000##FFFFFF
##A12DAF1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#A4456C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a12daf;
/* rgb */ color: rgb(161, 45, 175);
/* oklch */ color: oklch(52.8% 0.210 323.2);
Tailwind
colors: {
  custom: {
    50: '#c172c7',
    500: '#a12daf',
    950: '#000000',
  },
}
SCSS
$custom: #a12daf;
$custom-light: #c172c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12daf",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 293.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52826,
    "c": 0.21034,
    "h": 323.2
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#A12DAF
secondary
#7CC573
accent
#E24656
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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