#A12B97#A12B97

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

Color values

HEX#A12B97
RGBrgb(161, 43, 151)
HSLhsl(305, 58%, 40%)
HSVhsv(305, 73%, 63%)
CMYKcmyk(0%, 73.3%, 6.2%, 36.9%)
CIE-LABlab(40.48, 59.54, -33.32)
CIE-LCHlch(40.48, 68.23, 330.77°)
OKLaboklab(51.24% 0.1705 -0.0917)
OKLCHoklch(51.24% 0.194 331.7)
XYZxyz(21.1478, 11.5409, 30.3860)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12B97 #2BA135
analogous
#702BA1 #A12B97 #A12B5C
triadic
#A12B97 #97A12B #2B97A1
tetradic
#A12B97 #A1702B #2BA135 #2B5CA1
square
#A12B97 #A1702B #2BA135 #2B5CA1
split-complementary
#A12B97 #5CA12B #2BA170
monochromatic
#40113C #711E6A #A12B97 #CB3EBF #D86ECF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12B97#FFFFFF#000000##FFFFFF
##A12B971.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)
#22559A
Deuteranopia (green-blind)
#506594
Tritanopia (blue-blind)
#A8385E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12b97;
/* rgb */ color: rgb(161, 43, 151);
/* oklch */ color: oklch(51.2% 0.194 331.7);
Tailwind
colors: {
  custom: {
    50: '#c070b6',
    500: '#a12b97',
    950: '#000000',
  },
}
SCSS
$custom: #a12b97;
$custom-light: #c070b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12b97",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 305.085,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.51241,
    "c": 0.19355,
    "h": 331.7
  },
  "luminance": 0.11539
}

Semantic roles & 50–950 ramp

primary
#A12B97
secondary
#69BF70
accent
#E15447
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12B97

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

Preview Lab → · Contrast checker → · Palette generator →

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