#A12EA2#A12EA2

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

Color values

HEX#A12EA2
RGBrgb(161, 46, 162)
HSLhsl(299, 56%, 41%)
HSVhsv(299, 72%, 64%)
CMYKcmyk(0.6%, 71.6%, 0%, 36.5%)
CIE-LABlab(41.44, 60.32, -38.42)
CIE-LCHlch(41.44, 71.52, 327.50°)
OKLaboklab(52.13% 0.1678 -0.1065)
OKLCHoklch(52.13% 0.199 327.6)
XYZxyz(22.1962, 12.1413, 35.3498)
Luminance0.1214 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EA2 #2FA22E
analogous
#672EA2 #A12EA2 #A22E69
triadic
#A12EA2 #A2A12E #2EA2A1
tetradic
#A12EA2 #A2672E #2FA22E #2E69A2
square
#A12EA2 #A2672E #2FA22E #2E69A2
split-complementary
#A12EA2 #69A22E #2EA267
monochromatic
#421343 #722072 #A12EA2 #C943CA #D673D7

Accessibility & contrast

On white

6.13
#A12EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A12EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EA2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EA2#FFFFFF#000000##FFFFFF
##A12EA21.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#A64065
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ea2;
/* rgb */ color: rgb(161, 46, 162);
/* oklch */ color: oklch(52.1% 0.199 327.6);
Tailwind
colors: {
  custom: {
    50: '#c072be',
    500: '#a12ea2',
    950: '#000000',
  },
}
SCSS
$custom: #a12ea2;
$custom-light: #c072be;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ea2",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 299.483,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.19872,
    "h": 327.6
  },
  "luminance": 0.1214
}

Semantic roles & 50–950 ramp

primary
#A12EA2
secondary
#6EBF6D
accent
#DF494A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A12EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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