#B12AAB#B12AAB

#B12AAB is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.218 H 330.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B12AAB
RGBrgb(177, 42, 171)
HSLhsl(303, 62%, 43%)
HSVhsv(303, 76%, 69%)
CMYKcmyk(0%, 76.3%, 3.4%, 30.6%)
CIE-LABlab(44.15, 66.57, -39.32)
CIE-LCHlch(44.15, 77.32, 329.43°)
OKLaboklab(54.74% 0.1886 -0.1086)
OKLCHoklch(54.74% 0.218 330.1)
XYZxyz(26.3100, 13.9454, 39.8262)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12AAB #2AB130
analogous
#742AB1 #B12AAB #B12A67
triadic
#B12AAB #ABB12A #2AABB1
tetradic
#B12AAB #B1742A #2AB130 #2A67B1
square
#B12AAB #B1742A #2AB130 #2A67B1
split-complementary
#B12AAB #67B12A #2AB174
monochromatic
#4E134B #801E7B #B12AAB #D345CD #DF77DA

Accessibility & contrast

On white

5.54
#B12AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#B12AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12AAB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12AAB#FFFFFF#000000##FFFFFF
##B12AAB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165DAE
Deuteranopia (green-blind)
#546FA8
Tritanopia (blue-blind)
#B83D69
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #b12aab;
/* rgb */ color: rgb(177, 42, 171);
/* oklch */ color: oklch(54.7% 0.218 330.1);
Tailwind
colors: {
  custom: {
    50: '#cc73c4',
    500: '#b12aab',
    950: '#000000',
  },
}
SCSS
$custom: #b12aab;
$custom-light: #cc73c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b12aab",
  "rgb": {
    "r": 177,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 302.667,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.54742,
    "c": 0.2176,
    "h": 330.1
  },
  "luminance": 0.13943
}

Semantic roles & 50–950 ramp

primary
#B12AAB
secondary
#70C674
accent
#E54A43
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B12AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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