#B132A2#B132A2

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

Color values

HEX#B132A2
RGBrgb(177, 50, 162)
HSLhsl(307, 56%, 45%)
HSVhsv(307, 72%, 69%)
CMYKcmyk(0%, 71.8%, 8.5%, 30.6%)
CIE-LABlab(44.57, 62.62, -33.30)
CIE-LCHlch(44.57, 70.92, 332.00°)
OKLaboklab(54.89% 0.1808 -0.0913)
OKLCHoklch(54.89% 0.203 333.2)
XYZxyz(25.7938, 14.2391, 35.5653)
Luminance0.1424 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B132A2 #32B141
analogous
#8132B1 #B132A2 #B13262
triadic
#B132A2 #A2B132 #32A2B1
tetradic
#B132A2 #B18132 #32B141 #3262B1
square
#B132A2 #B18132 #32B141 #3262B1
split-complementary
#B132A2 #62B132 #32B181
monochromatic
#52174B #812576 #B132A2 #CE52BF #DC82D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B132A2#FFFFFF#000000##FFFFFF
##B132A21.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)
#2D5EA5
Deuteranopia (green-blind)
#5C709F
Tritanopia (blue-blind)
#B93E66
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b132a2;
/* rgb */ color: rgb(177, 50, 162);
/* oklch */ color: oklch(54.9% 0.203 333.2);
Tailwind
colors: {
  custom: {
    50: '#cc76be',
    500: '#b132a2',
    950: '#000000',
  },
}
SCSS
$custom: #b132a2;
$custom-light: #cc76be;
$custom-dark: #000000;
JSON
{
  "hex": "#b132a2",
  "rgb": {
    "r": 177,
    "g": 50,
    "b": 162
  },
  "hsl": {
    "h": 307.087,
    "s": 55.947,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5489,
    "c": 0.20256,
    "h": 333.2
  },
  "luminance": 0.14237
}

Semantic roles & 50–950 ramp

primary
#B132A2
secondary
#7AC583
accent
#DF5A49
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B132A2

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

Preview Lab → · Contrast checker → · Palette generator →

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