#B332C0#B332C0

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

Color values

HEX#B332C0
RGBrgb(179, 50, 192)
HSLhsl(295, 59%, 47%)
HSVhsv(295, 74%, 75%)
CMYKcmyk(6.8%, 74%, 0%, 24.7%)
CIE-LABlab(46.54, 67.97, -47.84)
CIE-LCHlch(46.54, 83.12, 324.86°)
OKLaboklab(56.89% 0.1832 -0.1334)
OKLCHoklch(56.89% 0.227 323.9)
XYZxyz(29.2446, 15.6725, 51.3437)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B332C0 #3FC032
analogous
#6C32C0 #B332C0 #C03286
triadic
#B332C0 #C0B332 #32C0B3
tetradic
#B332C0 #C06C32 #3FC032 #3286C0
square
#B332C0 #C06C32 #3FC032 #3286C0
split-complementary
#B332C0 #86C032 #32C06C
monochromatic
#58195F #86258F #B332C0 #C95BD4 #D98BE1

Accessibility & contrast

On white

5.08
#B332C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#B332C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B332C0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B332C0#FFFFFF#000000##FFFFFF
##B332C01.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C4
Deuteranopia (green-blind)
#4C73BD
Tritanopia (blue-blind)
#B64C77
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #b332c0;
/* rgb */ color: rgb(179, 50, 192);
/* oklch */ color: oklch(56.9% 0.227 323.9);
Tailwind
colors: {
  custom: {
    50: '#ce77d4',
    500: '#b332c0',
    950: '#000000',
  },
}
SCSS
$custom: #b332c0;
$custom-light: #ce77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b332c0",
  "rgb": {
    "r": 179,
    "g": 50,
    "b": 192
  },
  "hsl": {
    "h": 294.507,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56893,
    "c": 0.22662,
    "h": 323.9
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#B332C0
secondary
#89CB83
accent
#E24654
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#140A14
muted
#837C83

Preview Lab

Preview with #B332C0

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

Preview Lab → · Contrast checker → · Palette generator →

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