#A12DA2#A12DA2

#A12DA2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.0% C 0.200 H 327.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A12DA2
RGBrgb(161, 45, 162)
HSLhsl(299, 57%, 41%)
HSVhsv(299, 72%, 64%)
CMYKcmyk(0.6%, 72.2%, 0%, 36.5%)
CIE-LABlab(41.32, 60.67, -38.62)
CIE-LCHlch(41.32, 71.92, 327.52°)
OKLaboklab(52.04% 0.1688 -0.107)
OKLCHoklch(52.04% 0.2 327.6)
XYZxyz(22.1576, 12.0640, 35.3370)
Luminance0.1206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DA2 #2EA22D
analogous
#662DA2 #A12DA2 #A22D68
triadic
#A12DA2 #A2A12D #2DA2A1
tetradic
#A12DA2 #A2662D #2EA22D #2D68A2
square
#A12DA2 #A2662D #2EA22D #2D68A2
split-complementary
#A12DA2 #68A22D #2DA266
monochromatic
#421242 #712072 #A12DA2 #C942CA #D772D8

Accessibility & contrast

On white

6.15
#A12DA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A12DA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DA2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DA2#FFFFFF#000000##FFFFFF
##A12DA21.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#4B679F
Tritanopia (blue-blind)
#A63F65
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12da2;
/* rgb */ color: rgb(161, 45, 162);
/* oklch */ color: oklch(52.0% 0.200 327.6);
Tailwind
colors: {
  custom: {
    50: '#c072be',
    500: '#a12da2',
    950: '#000000',
  },
}
SCSS
$custom: #a12da2;
$custom-light: #c072be;
$custom-dark: #000000;
JSON
{
  "hex": "#a12da2",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 299.487,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.19985,
    "h": 327.6
  },
  "luminance": 0.12062
}

Semantic roles & 50–950 ramp

primary
#A12DA2
secondary
#6CBF6C
accent
#E04849
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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