#B32FAF#B32FAF

#B32FAF is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.217 H 329.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B32FAF
RGBrgb(179, 47, 175)
HSLhsl(302, 58%, 44%)
HSVhsv(302, 74%, 70%)
CMYKcmyk(0%, 73.7%, 2.2%, 29.8%)
CIE-LABlab(45.24, 66.11, -39.94)
CIE-LCHlch(45.24, 77.24, 328.86°)
OKLaboklab(55.65% 0.1863 -0.1104)
OKLCHoklch(55.65% 0.217 329.3)
XYZxyz(27.3446, 14.7140, 41.9490)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32FAF #2FB333
analogous
#752FB3 #B32FAF #B32F6D
triadic
#B32FAF #AFB32F #2FAFB3
tetradic
#B32FAF #B3752F #2FB333 #2F6DB3
square
#B32FAF #B3752F #2FB333 #2F6DB3
split-complementary
#B32FAF #6DB32F #2FB375
monochromatic
#521650 #832280 #B32FAF #D14FCD #DD7FDB

Accessibility & contrast

On white

5.33
#B32FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B32FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32FAF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32FAF#FFFFFF#000000##FFFFFF
##B32FAF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B60B2
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#B9426D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b32faf;
/* rgb */ color: rgb(179, 47, 175);
/* oklch */ color: oklch(55.7% 0.217 329.3);
Tailwind
colors: {
  custom: {
    50: '#ce75c7',
    500: '#b32faf',
    950: '#000000',
  },
}
SCSS
$custom: #b32faf;
$custom-light: #ce75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b32faf",
  "rgb": {
    "r": 179,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 301.818,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55653,
    "c": 0.21655,
    "h": 329.3
  },
  "luminance": 0.14712
}

Semantic roles & 50–950 ramp

primary
#B32FAF
secondary
#78C67A
accent
#E24B46
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B32FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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