#B32F9E#B32F9E

#B32F9E is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.7% C 0.204 H 335.3°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B32F9E
RGBrgb(179, 47, 158)
HSLhsl(310, 58%, 44%)
HSVhsv(310, 74%, 70%)
CMYKcmyk(0%, 73.7%, 11.7%, 29.8%)
CIE-LABlab(44.36, 63.49, -31.22)
CIE-LCHlch(44.36, 70.75, 333.81°)
OKLaboklab(54.73% 0.1855 -0.0853)
OKLCHoklch(54.73% 0.204 335.3)
XYZxyz(25.7788, 14.0877, 33.7026)
Luminance0.1409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32F9E #2FB344
analogous
#862FB3 #B32F9E #B32F5C
triadic
#B32F9E #9EB32F #2F9EB3
tetradic
#B32F9E #B3862F #2FB344 #2F5CB3
square
#B32F9E #B3862F #2FB344 #2F5CB3
split-complementary
#B32F9E #5CB32F #2FB386
monochromatic
#521648 #832273 #B32F9E #D14FBC #DD7FCE

Accessibility & contrast

On white

5.50
#B32F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#B32F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32F9E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32F9E#FFFFFF#000000##FFFFFF
##B32F9E1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA1
Deuteranopia (green-blind)
#5E709B
Tritanopia (blue-blind)
#BC3963
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b32f9e;
/* rgb */ color: rgb(179, 47, 158);
/* oklch */ color: oklch(54.7% 0.204 335.3);
Tailwind
colors: {
  custom: {
    50: '#ce75bb',
    500: '#b32f9e',
    950: '#000000',
  },
}
SCSS
$custom: #b32f9e;
$custom-light: #ce75bb;
$custom-dark: #000000;
JSON
{
  "hex": "#b32f9e",
  "rgb": {
    "r": 179,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 309.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.54734,
    "c": 0.20415,
    "h": 335.3
  },
  "luminance": 0.14085
}

Semantic roles & 50–950 ramp

primary
#B32F9E
secondary
#78C684
accent
#E25F46
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B32F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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