#B232A9#B232A9

#B232A9 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.208 H 331.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B232A9
RGBrgb(178, 50, 169)
HSLhsl(304, 56%, 45%)
HSVhsv(304, 72%, 70%)
CMYKcmyk(0%, 71.9%, 5.1%, 30.2%)
CIE-LABlab(45.10, 63.95, -36.63)
CIE-LCHlch(45.10, 73.69, 330.20°)
OKLaboklab(55.42% 0.1823 -0.1009)
OKLCHoklch(55.42% 0.208 331)
XYZxyz(26.6621, 14.6129, 38.9447)
Luminance0.1461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232A9 #32B23B
analogous
#7B32B2 #B232A9 #B23269
triadic
#B232A9 #A9B232 #32A9B2
tetradic
#B232A9 #B27B32 #32B23B #3269B2
square
#B232A9 #B27B32 #32B23B #3269B2
split-complementary
#B232A9 #69B232 #32B27B
monochromatic
#52174E #82257C #B232A9 #CF53C6 #DC82D6

Accessibility & contrast

On white

5.35
#B232A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B232A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232A9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232A9#FFFFFF#000000##FFFFFF
##B232A91.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275FAC
Deuteranopia (green-blind)
#5971A6
Tritanopia (blue-blind)
#B9416A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b232a9;
/* rgb */ color: rgb(178, 50, 169);
/* oklch */ color: oklch(55.4% 0.208 331.0);
Tailwind
colors: {
  custom: {
    50: '#cd76c3',
    500: '#b232a9',
    950: '#000000',
  },
}
SCSS
$custom: #b232a9;
$custom-light: #cd76c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b232a9",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 169
  },
  "hsl": {
    "h": 304.219,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55416,
    "c": 0.20831,
    "h": 331
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#B232A9
secondary
#7BC580
accent
#DF5348
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B232A9

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

Preview Lab → · Contrast checker → · Palette generator →

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