#B12FAE#B12FAE

#B12FAE is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.215 H 329.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B12FAE
RGBrgb(177, 47, 174)
HSLhsl(301, 58%, 44%)
HSVhsv(301, 73%, 69%)
CMYKcmyk(0%, 73.4%, 1.7%, 30.6%)
CIE-LABlab(44.85, 65.52, -39.98)
CIE-LCHlch(44.85, 76.75, 328.60°)
OKLaboklab(55.3% 0.1842 -0.1106)
OKLCHoklch(55.3% 0.215 329)
XYZxyz(26.7877, 14.4381, 41.4121)
Luminance0.1444 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B12FAE #2FB132
analogous
#732FB1 #B12FAE #B12F6D
triadic
#B12FAE #AEB12F #2FAEB1
tetradic
#B12FAE #B1732F #2FB132 #2F6DB1
square
#B12FAE #B1732F #2FB132 #2F6DB1
split-complementary
#B12FAE #6DB12F #2FB173
monochromatic
#50154F #81227E #B12FAE #D04DCD #DD7EDA

Accessibility & contrast

On white

5.40
#B12FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B12FAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B12FAE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B12FAE#FFFFFF#000000##FFFFFF
##B12FAE1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5FB1
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#B7426C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b12fae;
/* rgb */ color: rgb(177, 47, 174);
/* oklch */ color: oklch(55.3% 0.215 329.0);
Tailwind
colors: {
  custom: {
    50: '#cc75c6',
    500: '#b12fae',
    950: '#000000',
  },
}
SCSS
$custom: #b12fae;
$custom-light: #cc75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b12fae",
  "rgb": {
    "r": 177,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 301.385,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.21482,
    "h": 329
  },
  "luminance": 0.14436
}

Semantic roles & 50–950 ramp

primary
#B12FAE
secondary
#76C578
accent
#E14A47
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B12FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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