#B332CA#B332CA

#B332CA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.235 H 321.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B332CA
RGBrgb(179, 50, 202)
HSLhsl(291, 60%, 49%)
HSVhsv(291, 75%, 79%)
CMYKcmyk(11.4%, 75.2%, 0%, 20.8%)
CIE-LABlab(47.15, 69.72, -52.67)
CIE-LCHlch(47.15, 87.38, 322.93°)
OKLaboklab(57.52% 0.1825 -0.1476)
OKLCHoklch(57.52% 0.235 321)
XYZxyz(30.3905, 16.1308, 57.3785)
Luminance0.1613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332CA #49CA32
analogous
#6732CA #B332CA #CA3295
triadic
#B332CA #CAB332 #32CAB3
tetradic
#B332CA #CA6732 #49CA32 #3295CA
square
#B332CA #CA6732 #49CA32 #3295CA
split-complementary
#B332CA #95CA32 #32CA67
monochromatic
#5C1A68 #882699 #B332CA #C661D8 #D892E4

Accessibility & contrast

On white

4.97
#B332CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B332CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332CA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332CA#FFFFFF#000000##FFFFFF
##B332CA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#4474C7
Tritanopia (blue-blind)
#B4517D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b332ca;
/* rgb */ color: rgb(179, 50, 202);
/* oklch */ color: oklch(57.5% 0.235 321.0);
Tailwind
colors: {
  custom: {
    50: '#ce78db',
    500: '#b332ca',
    950: '#000000',
  },
}
SCSS
$custom: #b332ca;
$custom-light: #ce78db;
$custom-dark: #000000;
JSON
{
  "hex": "#b332ca",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 202
  },
  "hsl": {
    "h": 290.921,
    "s": 60.317,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57515,
    "c": 0.23465,
    "h": 321
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#B332CA
secondary
#93CF89
accent
#E3445C
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83

Preview Lab

Preview with #B332CA

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

Preview Lab → · Contrast checker → · Palette generator →

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