#B332C2#B332C2

#B332C2 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.228 H 323.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B332C2
RGBrgb(179, 50, 194)
HSLhsl(294, 59%, 48%)
HSVhsv(294, 74%, 76%)
CMYKcmyk(7.7%, 74.2%, 0%, 23.9%)
CIE-LABlab(46.66, 68.32, -48.81)
CIE-LCHlch(46.66, 83.97, 324.45°)
OKLaboklab(57.02% 0.1831 -0.1363)
OKLCHoklch(57.02% 0.228 323.3)
XYZxyz(29.4677, 15.7617, 52.5187)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332C2 #41C232
analogous
#6B32C2 #B332C2 #C23289
triadic
#B332C2 #C2B332 #32C2B3
tetradic
#B332C2 #C26B32 #41C232 #3289C2
square
#B332C2 #C26B32 #41C232 #3289C2
split-complementary
#B332C2 #89C232 #32C26B
monochromatic
#591961 #862591 #B332C2 #C85CD5 #D98DE2

Accessibility & contrast

On white

5.06
#B332C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#B332C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332C2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332C2#FFFFFF#000000##FFFFFF
##B332C21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#B64D78
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #b332c2;
/* rgb */ color: rgb(179, 50, 194);
/* oklch */ color: oklch(57.0% 0.228 323.3);
Tailwind
colors: {
  custom: {
    50: '#ce77d5',
    500: '#b332c2',
    950: '#000000',
  },
}
SCSS
$custom: #b332c2;
$custom-light: #ce77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b332c2",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 194
  },
  "hsl": {
    "h": 293.75,
    "s": 59.016,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57015,
    "c": 0.22823,
    "h": 323.3
  },
  "luminance": 0.1576
}

Semantic roles & 50–950 ramp

primary
#B332C2
secondary
#8BCC84
accent
#E24656
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B332C2

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

Preview Lab → · Contrast checker → · Palette generator →

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