#B332C7#B332C7

#B332C7 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.232 H 321.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B332C7
RGBrgb(179, 50, 199)
HSLhsl(292, 60%, 49%)
HSVhsv(292, 75%, 78%)
CMYKcmyk(10.1%, 74.9%, 0%, 22%)
CIE-LABlab(46.96, 69.19, -51.23)
CIE-LCHlch(46.96, 86.10, 323.48°)
OKLaboklab(57.33% 0.1827 -0.1433)
OKLCHoklch(57.33% 0.232 321.9)
XYZxyz(30.0387, 15.9901, 55.5259)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332C7 #46C732
analogous
#6932C7 #B332C7 #C73291
triadic
#B332C7 #C7B332 #32C7B3
tetradic
#B332C7 #C76932 #46C732 #3291C7
square
#B332C7 #C76932 #46C732 #3291C7
split-complementary
#B332C7 #91C732 #32C769
monochromatic
#5B1965 #872696 #B332C7 #C75FD7 #D890E3

Accessibility & contrast

On white

5.00
#B332C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#B332C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332C7
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332C7#FFFFFF#000000##FFFFFF
##B332C71.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#4774C4
Tritanopia (blue-blind)
#B54F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b332c7;
/* rgb */ color: rgb(179, 50, 199);
/* oklch */ color: oklch(57.3% 0.232 321.9);
Tailwind
colors: {
  custom: {
    50: '#ce78d9',
    500: '#b332c7',
    950: '#000000',
  },
}
SCSS
$custom: #b332c7;
$custom-light: #ce78d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b332c7",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 199
  },
  "hsl": {
    "h": 291.946,
    "s": 59.839,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57326,
    "c": 0.23223,
    "h": 321.9
  },
  "luminance": 0.15988
}

Semantic roles & 50–950 ramp

primary
#B332C7
secondary
#90CE87
accent
#E3455A
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A15
muted
#837C83

Preview Lab

Preview with #B332C7

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

Preview Lab → · Contrast checker → · Palette generator →

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