#B12EAB#B12EAB

#B12EAB is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.214 H 330.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B12EAB
RGBrgb(177, 46, 171)
HSLhsl(303, 59%, 44%)
HSVhsv(303, 74%, 69%)
CMYKcmyk(0%, 74%, 3.4%, 30.6%)
CIE-LABlab(44.58, 65.35, -38.64)
CIE-LCHlch(44.58, 75.92, 329.40°)
OKLaboklab(55.05% 0.185 -0.1067)
OKLCHoklch(55.05% 0.214 330)
XYZxyz(26.4590, 14.2434, 39.8759)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12EAB #2EB134
analogous
#752EB1 #B12EAB #B12E69
triadic
#B12EAB #ABB12E #2EABB1
tetradic
#B12EAB #B1752E #2EB134 #2E69B1
square
#B12EAB #B1752E #2EB134 #2E69B1
split-complementary
#B12EAB #69B12E #2EB175
monochromatic
#50154D #80217C #B12EAB #D04CCA #DD7CD9

Accessibility & contrast

On white

5.46
#B12EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B12EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12EAB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12EAB#FFFFFF#000000##FFFFFF
##B12EAB1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAE
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#B8406A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b12eab;
/* rgb */ color: rgb(177, 46, 171);
/* oklch */ color: oklch(55.0% 0.214 330.0);
Tailwind
colors: {
  custom: {
    50: '#cc75c4',
    500: '#b12eab',
    950: '#000000',
  },
}
SCSS
$custom: #b12eab;
$custom-light: #cc75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b12eab",
  "rgb": {
    "r": 177,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 302.748,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55046,
    "c": 0.2136,
    "h": 330
  },
  "luminance": 0.14241
}

Semantic roles & 50–950 ramp

primary
#B12EAB
secondary
#75C679
accent
#E24D46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B12EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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