#B332C1#B332C1

#B332C1 is a mid, highly saturated purple. Relative luminance 0.157; OKLCH L 57.0% C 0.227 H 323.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B332C1
RGBrgb(179, 50, 193)
HSLhsl(294, 59%, 48%)
HSVhsv(294, 74%, 76%)
CMYKcmyk(7.3%, 74.1%, 0%, 24.3%)
CIE-LABlab(46.60, 68.15, -48.33)
CIE-LCHlch(46.60, 83.54, 324.66°)
OKLaboklab(56.95% 0.1831 -0.1349)
OKLCHoklch(56.95% 0.227 323.6)
XYZxyz(29.3558, 15.7170, 51.9292)
Luminance0.1572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332C1 #40C132
analogous
#6C32C1 #B332C1 #C13287
triadic
#B332C1 #C1B332 #32C1B3
tetradic
#B332C1 #C16C32 #40C132 #3287C1
square
#B332C1 #C16C32 #40C132 #3287C1
split-complementary
#B332C1 #87C132 #32C16C
monochromatic
#591960 #862590 #B332C1 #C95CD5 #D98CE1

Accessibility & contrast

On white

5.07
#B332C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#B332C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332C1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332C1#FFFFFF#000000##FFFFFF
##B332C11.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C5
Deuteranopia (green-blind)
#4C73BE
Tritanopia (blue-blind)
#B64C78
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b332c1;
/* rgb */ color: rgb(179, 50, 193);
/* oklch */ color: oklch(57.0% 0.227 323.6);
Tailwind
colors: {
  custom: {
    50: '#ce77d4',
    500: '#b332c1',
    950: '#000000',
  },
}
SCSS
$custom: #b332c1;
$custom-light: #ce77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b332c1",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 193
  },
  "hsl": {
    "h": 294.126,
    "s": 58.848,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56954,
    "c": 0.22743,
    "h": 323.6
  },
  "luminance": 0.15715
}

Semantic roles & 50–950 ramp

primary
#B332C1
secondary
#8ACB83
accent
#E24655
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B332C1

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

Preview Lab → · Contrast checker → · Palette generator →

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