#A12B95#A12B95

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

Color values

HEX#A12B95
RGBrgb(161, 43, 149)
HSLhsl(306, 58%, 40%)
HSVhsv(306, 73%, 63%)
CMYKcmyk(0%, 73.3%, 7.5%, 36.9%)
CIE-LABlab(40.37, 59.23, -32.28)
CIE-LCHlch(40.37, 67.45, 331.41°)
OKLaboklab(51.13% 0.1704 -0.0887)
OKLCHoklch(51.13% 0.192 332.5)
XYZxyz(20.9867, 11.4765, 29.5378)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12B95 #2BA137
analogous
#722BA1 #A12B95 #A12B5A
triadic
#A12B95 #95A12B #2B95A1
tetradic
#A12B95 #A1722B #2BA137 #2B5AA1
square
#A12B95 #A1722B #2BA137 #2B5AA1
split-complementary
#A12B95 #5AA12B #2BA172
monochromatic
#40113C #711E68 #A12B95 #CB3EBD #D86ECD

Accessibility & contrast

On white

6.37
#A12B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A12B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12B95
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12B95#FFFFFF#000000##FFFFFF
##A12B951.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255498
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#A8385D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12b95;
/* rgb */ color: rgb(161, 43, 149);
/* oklch */ color: oklch(51.1% 0.192 332.5);
Tailwind
colors: {
  custom: {
    50: '#c070b4',
    500: '#a12b95',
    950: '#000000',
  },
}
SCSS
$custom: #a12b95;
$custom-light: #c070b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12b95",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 306.102,
    "s": 57.843,
    "l": 40
  },
  "oklch": {
    "l": 0.51131,
    "c": 0.19205,
    "h": 332.5
  },
  "luminance": 0.11475
}

Semantic roles & 50–950 ramp

primary
#A12B95
secondary
#69BF71
accent
#E15647
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12B95

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

Preview Lab → · Contrast checker → · Palette generator →

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