#B132B2#B132B2

#B132B2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.215 H 327.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B132B2
RGBrgb(177, 50, 178)
HSLhsl(300, 56%, 45%)
HSVhsv(300, 72%, 70%)
CMYKcmyk(0.6%, 71.9%, 0%, 30.2%)
CIE-LABlab(45.42, 65.18, -41.45)
CIE-LCHlch(45.42, 77.24, 327.55°)
OKLaboklab(55.77% 0.1814 -0.1149)
OKLCHoklch(55.77% 0.215 327.7)
XYZxyz(27.3076, 14.8446, 43.5379)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B132B2 #33B232
analogous
#7132B2 #B132B2 #B23273
triadic
#B132B2 #B2B132 #32B2B1
tetradic
#B132B2 #B27132 #33B232 #3273B2
square
#B132B2 #B27132 #33B232 #3273B2
split-complementary
#B132B2 #73B232 #32B271
monochromatic
#521752 #812582 #B132B2 #CE53CF #DB82DC

Accessibility & contrast

On white

5.29
#B132B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B132B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B132B2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B132B2#FFFFFF#000000##FFFFFF
##B132B21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B6
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#B6466F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b132b2;
/* rgb */ color: rgb(177, 50, 178);
/* oklch */ color: oklch(55.8% 0.215 327.7);
Tailwind
colors: {
  custom: {
    50: '#cc77c9',
    500: '#b132b2',
    950: '#000000',
  },
}
SCSS
$custom: #b132b2;
$custom-light: #cc77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b132b2",
  "rgb": {
    "r": 177,
    "g": 50,
    "b": 178
  },
  "hsl": {
    "h": 299.531,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.21469,
    "h": 327.7
  },
  "luminance": 0.14843
}

Semantic roles & 50–950 ramp

primary
#B132B2
secondary
#7BC57B
accent
#DF484A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B132B2

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

Preview Lab → · Contrast checker → · Palette generator →

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