#A12B93#A12B93

#A12B93 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.191 H 333.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A12B93
RGBrgb(161, 43, 147)
HSLhsl(307, 58%, 40%)
HSVhsv(307, 73%, 63%)
CMYKcmyk(0%, 73.3%, 8.7%, 36.9%)
CIE-LABlab(40.27, 58.91, -31.23)
CIE-LCHlch(40.27, 66.68, 332.07°)
OKLaboklab(51.02% 0.1702 -0.0856)
OKLCHoklch(51.02% 0.191 333.3)
XYZxyz(20.8284, 11.4132, 28.7041)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12B93 #2BA139
analogous
#742BA1 #A12B93 #A12B58
triadic
#A12B93 #93A12B #2B93A1
tetradic
#A12B93 #A1742B #2BA139 #2B58A1
square
#A12B93 #A1742B #2BA139 #2B58A1
split-complementary
#A12B93 #58A12B #2BA174
monochromatic
#40113B #711E67 #A12B93 #CB3EBB #D86ECC

Accessibility & contrast

On white

6.40
#A12B93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A12B93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12B93
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12B93#FFFFFF#000000##FFFFFF
##A12B931.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275496
Deuteranopia (green-blind)
#526590
Tritanopia (blue-blind)
#A8375C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12b93;
/* rgb */ color: rgb(161, 43, 147);
/* oklch */ color: oklch(51.0% 0.191 333.3);
Tailwind
colors: {
  custom: {
    50: '#c070b3',
    500: '#a12b93',
    950: '#000000',
  },
}
SCSS
$custom: #a12b93;
$custom-light: #c070b3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12b93",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 307.119,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.51023,
    "c": 0.19056,
    "h": 333.3
  },
  "luminance": 0.11411
}

Semantic roles & 50–950 ramp

primary
#A12B93
secondary
#69BF73
accent
#E15947
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12B93

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

Preview Lab → · Contrast checker → · Palette generator →

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