#A12F90#A12F90

#A12F90 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.2% C 0.184 H 334.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A12F90
RGBrgb(161, 47, 144)
HSLhsl(309, 55%, 41%)
HSVhsv(309, 71%, 63%)
CMYKcmyk(0%, 70.8%, 10.6%, 36.9%)
CIE-LABlab(40.61, 57.03, -28.86)
CIE-LCHlch(40.61, 63.92, 333.16°)
OKLaboklab(51.22% 0.1658 -0.0788)
OKLCHoklch(51.22% 0.184 334.6)
XYZxyz(20.7487, 11.6255, 27.5313)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12F90 #2FA140
analogous
#792FA1 #A12F90 #A12F57
triadic
#A12F90 #90A12F #2F90A1
tetradic
#A12F90 #A1792F #2FA140 #2F57A1
square
#A12F90 #A1792F #2FA140 #2F57A1
split-complementary
#A12F90 #57A12F #2FA179
monochromatic
#42133B #722166 #A12F90 #C945B5 #D674C8

Accessibility & contrast

On white

6.32
#A12F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A12F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12F90
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12F90#FFFFFF#000000##FFFFFF
##A12F901.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5593
Deuteranopia (green-blind)
#55668D
Tritanopia (blue-blind)
#A9385C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a12f90;
/* rgb */ color: rgb(161, 47, 144);
/* oklch */ color: oklch(51.2% 0.184 334.6);
Tailwind
colors: {
  custom: {
    50: '#c072b1',
    500: '#a12f90',
    950: '#000000',
  },
}
SCSS
$custom: #a12f90;
$custom-light: #c072b1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12f90",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 308.947,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.18363,
    "h": 334.6
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#A12F90
secondary
#6EBE7A
accent
#DE604A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130910
muted
#827B7F

Preview Lab

Preview with #A12F90

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

Preview Lab → · Contrast checker → · Palette generator →

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