#B32FB7#B32FB7

#B32FB7 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.1% C 0.223 H 326.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B32FB7
RGBrgb(179, 47, 183)
HSLhsl(298, 59%, 45%)
HSVhsv(298, 74%, 72%)
CMYKcmyk(2.2%, 74.3%, 0%, 28.2%)
CIE-LABlab(45.69, 67.41, -43.94)
CIE-LCHlch(45.69, 80.47, 326.90°)
OKLaboklab(56.12% 0.1862 -0.1221)
OKLCHoklch(56.12% 0.223 326.8)
XYZxyz(28.1537, 15.0376, 46.2103)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32FB7 #33B72F
analogous
#6F2FB7 #B32FB7 #B72F77
triadic
#B32FB7 #B7B32F #2FB7B3
tetradic
#B32FB7 #B76F2F #33B72F #2F77B7
square
#B32FB7 #B76F2F #33B72F #2F77B7
split-complementary
#B32FB7 #77B72F #2FB76F
monochromatic
#541656 #832286 #B32FB7 #CE51D2 #DC82DF

Accessibility & contrast

On white

5.24
#B32FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B32FB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32FB7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32FB7#FFFFFF#000000##FFFFFF
##B32FB71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0562BB
Deuteranopia (green-blind)
#5172B4
Tritanopia (blue-blind)
#B84671
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b32fb7;
/* rgb */ color: rgb(179, 47, 183);
/* oklch */ color: oklch(56.1% 0.223 326.8);
Tailwind
colors: {
  custom: {
    50: '#ce76cd',
    500: '#b32fb7',
    950: '#000000',
  },
}
SCSS
$custom: #b32fb7;
$custom-light: #ce76cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b32fb7",
  "rgb": {
    "r": 179,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 298.235,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56115,
    "c": 0.22264,
    "h": 326.8
  },
  "luminance": 0.15036
}

Semantic roles & 50–950 ramp

primary
#B32FB7
secondary
#7CC87A
accent
#E2454A
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B32FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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