#B232AC#B232AC

#B232AC is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.211 H 330.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B232AC
RGBrgb(178, 50, 172)
HSLhsl(303, 56%, 45%)
HSVhsv(303, 72%, 70%)
CMYKcmyk(0%, 71.9%, 3.4%, 30.2%)
CIE-LABlab(45.26, 64.43, -38.15)
CIE-LCHlch(45.26, 74.88, 329.37°)
OKLaboklab(55.58% 0.1824 -0.1053)
OKLCHoklch(55.58% 0.211 330)
XYZxyz(26.9469, 14.7268, 40.4450)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232AC #32B238
analogous
#7832B2 #B232AC #B2326C
triadic
#B232AC #ACB232 #32ACB2
tetradic
#B232AC #B27832 #32B238 #326CB2
square
#B232AC #B27832 #32B238 #326CB2
split-complementary
#B232AC #6CB232 #32B278
monochromatic
#521750 #82257E #B232AC #CF53C9 #DC82D8

Accessibility & contrast

On white

5.32
#B232AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B232AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232AC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232AC#FFFFFF#000000##FFFFFF
##B232AC1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2360AF
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#B9436C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b232ac;
/* rgb */ color: rgb(178, 50, 172);
/* oklch */ color: oklch(55.6% 0.211 330.0);
Tailwind
colors: {
  custom: {
    50: '#cd76c5',
    500: '#b232ac',
    950: '#000000',
  },
}
SCSS
$custom: #b232ac;
$custom-light: #cd76c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b232ac",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 172
  },
  "hsl": {
    "h": 302.813,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.21057,
    "h": 330
  },
  "luminance": 0.14725
}

Semantic roles & 50–950 ramp

primary
#B232AC
secondary
#7BC57E
accent
#DF4F48
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B232AC

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

Preview Lab → · Contrast checker → · Palette generator →

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