#B232A1#B232A1

#B232A1 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.0% C 0.202 H 333.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B232A1
RGBrgb(178, 50, 161)
HSLhsl(308, 56%, 45%)
HSVhsv(308, 72%, 70%)
CMYKcmyk(0%, 71.9%, 9.6%, 30.2%)
CIE-LABlab(44.69, 62.70, -32.51)
CIE-LCHlch(44.69, 70.63, 332.60°)
OKLaboklab(54.99% 0.1818 -0.089)
OKLCHoklch(54.99% 0.202 333.9)
XYZxyz(25.9339, 14.3216, 35.1098)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232A1 #32B243
analogous
#8332B2 #B232A1 #B23261
triadic
#B232A1 #A1B232 #32A1B2
tetradic
#B232A1 #B28332 #32B243 #3261B2
square
#B232A1 #B28332 #32B243 #3261B2
split-complementary
#B232A1 #61B232 #32B283
monochromatic
#52174B #822576 #B232A1 #CF53BE #DC82D0

Accessibility & contrast

On white

5.44
#B232A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B232A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232A1
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232A1#FFFFFF#000000##FFFFFF
##B232A11.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA4
Deuteranopia (green-blind)
#5D709E
Tritanopia (blue-blind)
#BA3D66
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b232a1;
/* rgb */ color: rgb(178, 50, 161);
/* oklch */ color: oklch(55.0% 0.202 333.9);
Tailwind
colors: {
  custom: {
    50: '#cd76bd',
    500: '#b232a1',
    950: '#000000',
  },
}
SCSS
$custom: #b232a1;
$custom-light: #cd76bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b232a1",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 161
  },
  "hsl": {
    "h": 307.969,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5499,
    "c": 0.20239,
    "h": 333.9
  },
  "luminance": 0.14319
}

Semantic roles & 50–950 ramp

primary
#B232A1
secondary
#7BC584
accent
#DF5C48
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B232A1

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

Preview Lab → · Contrast checker → · Palette generator →

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