#B32FE2#B32FE2

#B32FE2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.9% C 0.257 H 314.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B32FE2
RGBrgb(179, 47, 226)
HSLhsl(284, 76%, 54%)
HSVhsv(284, 79%, 89%)
CMYKcmyk(20.8%, 79.2%, 0%, 11.4%)
CIE-LABlab(48.40, 75.02, -64.40)
CIE-LCHlch(48.40, 98.87, 319.36°)
OKLaboklab(58.9% 0.1815 -0.1819)
OKLCHoklch(58.9% 0.257 314.9)
XYZxyz(33.3321, 17.1090, 73.4833)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B32FE2 #5EE22F
analogous
#592FE2 #B32FE2 #E22FB7
triadic
#B32FE2 #E2B32F #2FE2B3
tetradic
#B32FE2 #E2592F #5EE22F #2FB7E2
square
#B32FE2 #E2592F #5EE22F #2FB7E2
split-complementary
#B32FE2 #B7E22F #2FE259
monochromatic
#661284 #901ABA #B32FE2 #C765E9 #DA9AF1

Accessibility & contrast

On white

4.75
#B32FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#B32FE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B32FE2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B32FE2#FFFFFF#000000##FFFFFF
##B32FE21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#2376DE
Tritanopia (blue-blind)
#AF5A8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b32fe2;
/* rgb */ color: rgb(179, 47, 226);
/* oklch */ color: oklch(58.9% 0.257 314.9);
Tailwind
colors: {
  custom: {
    50: '#cf78ec',
    500: '#b32fe2',
    950: '#000000',
  },
}
SCSS
$custom: #b32fe2;
$custom-light: #cf78ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b32fe2",
  "rgb": {
    "r": 179,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 284.246,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.25696,
    "h": 314.9
  },
  "luminance": 0.17108
}

Semantic roles & 50–950 ramp

primary
#B32FE2
secondary
#A4DD90
accent
#F23667
background
#FDF7FE
surface
#FAEEFD
border
#D3C9D5
text
#140A16
muted
#837C84

Preview Lab

Preview with #B32FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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