#B232B6#B232B6

#B232B6 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.2% C 0.218 H 326.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B232B6
RGBrgb(178, 50, 182)
HSLhsl(298, 57%, 45%)
HSVhsv(298, 73%, 71%)
CMYKcmyk(2.2%, 72.5%, 0%, 28.6%)
CIE-LABlab(45.81, 66.07, -43.18)
CIE-LCHlch(45.81, 78.92, 326.83°)
OKLaboklab(56.15% 0.1824 -0.1199)
OKLCHoklch(56.15% 0.218 326.7)
XYZxyz(27.9437, 15.1255, 45.6946)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232B6 #36B632
analogous
#7032B6 #B232B6 #B63278
triadic
#B232B6 #B6B232 #32B6B2
tetradic
#B232B6 #B67032 #36B632 #3278B6
square
#B232B6 #B67032 #36B632 #3278B6
split-complementary
#B232B6 #78B632 #32B670
monochromatic
#541856 #832586 #B232B6 #CD55D0 #DB85DD

Accessibility & contrast

On white

5.22
#B232B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B232B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232B6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232B6#FFFFFF#000000##FFFFFF
##B232B61.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1162BA
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#B74771
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b232b6;
/* rgb */ color: rgb(178, 50, 182);
/* oklch */ color: oklch(56.2% 0.218 326.7);
Tailwind
colors: {
  custom: {
    50: '#cd77cc',
    500: '#b232b6',
    950: '#000000',
  },
}
SCSS
$custom: #b232b6;
$custom-light: #cd77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b232b6",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 182
  },
  "hsl": {
    "h": 298.182,
    "s": 56.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.56151,
    "c": 0.21829,
    "h": 326.7
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#B232B6
secondary
#7FC77D
accent
#E0484C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A13
muted
#837C82

Preview Lab

Preview with #B232B6

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

Preview Lab → · Contrast checker → · Palette generator →

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