#B12FA3#B12FA3

#B12FA3 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.7% C 0.207 H 332.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B12FA3
RGBrgb(177, 47, 163)
HSLhsl(306, 58%, 44%)
HSVhsv(306, 73%, 69%)
CMYKcmyk(0%, 73.4%, 7.9%, 30.6%)
CIE-LABlab(44.27, 63.78, -34.37)
CIE-LCHlch(44.27, 72.45, 331.68°)
OKLaboklab(54.69% 0.1838 -0.0944)
OKLCHoklch(54.69% 0.207 332.8)
XYZxyz(25.7590, 14.0266, 35.9940)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12FA3 #2FB13D
analogous
#7E2FB1 #B12FA3 #B12F62
triadic
#B12FA3 #A3B12F #2FA3B1
tetradic
#B12FA3 #B17E2F #2FB13D #2F62B1
square
#B12FA3 #B17E2F #2FB13D #2F62B1
split-complementary
#B12FA3 #62B12F #2FB17E
monochromatic
#50154A #812276 #B12FA3 #D04DC2 #DD7ED2

Accessibility & contrast

On white

5.52
#B12FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#B12FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12FA3
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12FA3#FFFFFF#000000##FFFFFF
##B12FA31.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295DA6
Deuteranopia (green-blind)
#5A6FA0
Tritanopia (blue-blind)
#B93D66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b12fa3;
/* rgb */ color: rgb(177, 47, 163);
/* oklch */ color: oklch(54.7% 0.207 332.8);
Tailwind
colors: {
  custom: {
    50: '#cc75be',
    500: '#b12fa3',
    950: '#000000',
  },
}
SCSS
$custom: #b12fa3;
$custom-light: #cc75be;
$custom-dark: #000000;
JSON
{
  "hex": "#b12fa3",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 306.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.54688,
    "c": 0.20663,
    "h": 332.8
  },
  "luminance": 0.14024
}

Semantic roles & 50–950 ramp

primary
#B12FA3
secondary
#76C57F
accent
#E15747
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B12FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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