#B232B1#B232B1

#B232B1 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.214 H 328.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B232B1
RGBrgb(178, 50, 177)
HSLhsl(300, 56%, 45%)
HSVhsv(300, 72%, 70%)
CMYKcmyk(0%, 71.9%, 0.6%, 30.2%)
CIE-LABlab(45.53, 65.24, -40.68)
CIE-LCHlch(45.53, 76.88, 328.06°)
OKLaboklab(55.86% 0.1825 -0.1126)
OKLCHoklch(55.86% 0.214 328.3)
XYZxyz(27.4362, 14.9225, 43.0217)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232B1 #32B233
analogous
#7332B2 #B232B1 #B23271
triadic
#B232B1 #B1B232 #32B1B2
tetradic
#B232B1 #B27332 #32B233 #3271B2
square
#B232B1 #B27332 #32B233 #3271B2
split-complementary
#B232B1 #71B232 #32B273
monochromatic
#521752 #822581 #B232B1 #CF53CE #DC82DB

Accessibility & contrast

On white

5.27
#B232B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B232B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232B1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232B1#FFFFFF#000000##FFFFFF
##B232B11.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C61B5
Deuteranopia (green-blind)
#5572AE
Tritanopia (blue-blind)
#B8456F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b232b1;
/* rgb */ color: rgb(178, 50, 177);
/* oklch */ color: oklch(55.9% 0.214 328.3);
Tailwind
colors: {
  custom: {
    50: '#cd77c9',
    500: '#b232b1',
    950: '#000000',
  },
}
SCSS
$custom: #b232b1;
$custom-light: #cd77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b232b1",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 177
  },
  "hsl": {
    "h": 300.469,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55863,
    "c": 0.2144,
    "h": 328.3
  },
  "luminance": 0.14921
}

Semantic roles & 50–950 ramp

primary
#B232B1
secondary
#7BC57B
accent
#DF4A48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B232B1

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

Preview Lab → · Contrast checker → · Palette generator →

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