#A12E90#A12E90

#A12E90 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.185 H 334.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A12E90
RGBrgb(161, 46, 144)
HSLhsl(309, 56%, 41%)
HSVhsv(309, 71%, 63%)
CMYKcmyk(0%, 71.4%, 10.6%, 36.9%)
CIE-LABlab(40.49, 57.40, -29.06)
CIE-LCHlch(40.49, 64.33, 333.15°)
OKLaboklab(51.13% 0.1669 -0.0794)
OKLCHoklch(51.13% 0.185 334.6)
XYZxyz(20.7092, 11.5464, 27.5181)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E90 #2EA13F
analogous
#792EA1 #A12E90 #A12E56
triadic
#A12E90 #90A12E #2E90A1
tetradic
#A12E90 #A1792E #2EA13F #2E56A1
square
#A12E90 #A1792E #2EA13F #2E56A1
split-complementary
#A12E90 #56A12E #2EA179
monochromatic
#42133B #712065 #A12E90 #C943B5 #D773C8

Accessibility & contrast

On white

6.35
#A12E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A12E90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E90
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E90#FFFFFF#000000##FFFFFF
##A12E901.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5593
Deuteranopia (green-blind)
#55658D
Tritanopia (blue-blind)
#A9375B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12e90;
/* rgb */ color: rgb(161, 46, 144);
/* oklch */ color: oklch(51.1% 0.185 334.6);
Tailwind
colors: {
  custom: {
    50: '#c072b1',
    500: '#a12e90',
    950: '#000000',
  },
}
SCSS
$custom: #a12e90;
$custom-light: #c072b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e90",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 308.87,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51131,
    "c": 0.18484,
    "h": 334.6
  },
  "luminance": 0.11545
}

Semantic roles & 50–950 ramp

primary
#A12E90
secondary
#6CBE78
accent
#DF5F49
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12E90

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

Preview Lab → · Contrast checker → · Palette generator →

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