#B232A6#B232A6

#B232A6 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.206 H 332.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B232A6
RGBrgb(178, 50, 166)
HSLhsl(306, 56%, 45%)
HSVhsv(306, 72%, 70%)
CMYKcmyk(0%, 71.9%, 6.7%, 30.2%)
CIE-LABlab(44.94, 63.48, -35.09)
CIE-LCHlch(44.94, 72.53, 331.07°)
OKLaboklab(55.25% 0.1821 -0.0964)
OKLCHoklch(55.25% 0.206 332.1)
XYZxyz(26.3837, 14.5015, 37.4785)
Luminance0.1450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232A6 #32B23E
analogous
#7E32B2 #B232A6 #B23266
triadic
#B232A6 #A6B232 #32A6B2
tetradic
#B232A6 #B27E32 #32B23E #3266B2
square
#B232A6 #B27E32 #32B23E #3266B2
split-complementary
#B232A6 #66B232 #32B27E
monochromatic
#52174D #822579 #B232A6 #CF53C3 #DC82D4

Accessibility & contrast

On white

5.38
#B232A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B232A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232A6
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232A6#FFFFFF#000000##FFFFFF
##B232A61.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5FA9
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#BA4069
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b232a6;
/* rgb */ color: rgb(178, 50, 166);
/* oklch */ color: oklch(55.3% 0.206 332.1);
Tailwind
colors: {
  custom: {
    50: '#cd76c1',
    500: '#b232a6',
    950: '#000000',
  },
}
SCSS
$custom: #b232a6;
$custom-light: #cd76c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b232a6",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 166
  },
  "hsl": {
    "h": 305.625,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55254,
    "c": 0.20607,
    "h": 332.1
  },
  "luminance": 0.14499
}

Semantic roles & 50–950 ramp

primary
#B232A6
secondary
#7BC582
accent
#DF5748
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B232A6

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

Preview Lab → · Contrast checker → · Palette generator →

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