#B132B4#B132B4

#B132B4 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.216 H 327.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B132B4
RGBrgb(177, 50, 180)
HSLhsl(299, 57%, 45%)
HSVhsv(299, 72%, 71%)
CMYKcmyk(1.7%, 72.2%, 0%, 29.4%)
CIE-LABlab(45.53, 65.52, -42.45)
CIE-LCHlch(45.53, 78.06, 327.06°)
OKLaboklab(55.89% 0.1814 -0.1178)
OKLCHoklch(55.89% 0.216 327)
XYZxyz(27.5098, 14.9255, 44.6031)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B132B4 #35B432
analogous
#7032B4 #B132B4 #B43276
triadic
#B132B4 #B4B132 #32B4B1
tetradic
#B132B4 #B47032 #35B432 #3276B4
square
#B132B4 #B47032 #35B432 #3276B4
split-complementary
#B132B4 #76B432 #32B470
monochromatic
#531754 #822584 #B132B4 #CD54CF #DB84DD

Accessibility & contrast

On white

5.27
#B132B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B132B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B132B4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B132B4#FFFFFF#000000##FFFFFF
##B132B41.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1461B8
Deuteranopia (green-blind)
#5271B1
Tritanopia (blue-blind)
#B64770
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b132b4;
/* rgb */ color: rgb(177, 50, 180);
/* oklch */ color: oklch(55.9% 0.216 327.0);
Tailwind
colors: {
  custom: {
    50: '#cc77cb',
    500: '#b132b4',
    950: '#000000',
  },
}
SCSS
$custom: #b132b4;
$custom-light: #cc77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b132b4",
  "rgb": {
    "r": 177,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 298.615,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55888,
    "c": 0.21625,
    "h": 327
  },
  "luminance": 0.14924
}

Semantic roles & 50–950 ramp

primary
#B132B4
secondary
#7DC67C
accent
#E0484C
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B132B4

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

Preview Lab → · Contrast checker → · Palette generator →

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