#B232B4#B232B4

#B232B4 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.217 H 327.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B232B4
RGBrgb(178, 50, 180)
HSLhsl(299, 57%, 45%)
HSVhsv(299, 72%, 71%)
CMYKcmyk(1.1%, 72.2%, 0%, 29.4%)
CIE-LABlab(45.69, 65.73, -42.18)
CIE-LCHlch(45.69, 78.10, 327.31°)
OKLaboklab(56.04% 0.1825 -0.117)
OKLCHoklch(56.04% 0.217 327.3)
XYZxyz(27.7385, 15.0434, 44.6138)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232B4 #34B432
analogous
#7132B4 #B232B4 #B43275
triadic
#B232B4 #B4B232 #32B4B2
tetradic
#B232B4 #B47132 #34B432 #3275B4
square
#B232B4 #B47132 #34B432 #3275B4
split-complementary
#B232B4 #75B432 #32B471
monochromatic
#531754 #832584 #B232B4 #CE54CF #DB84DD

Accessibility & contrast

On white

5.24
#B232B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#B232B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232B4
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232B4#FFFFFF#000000##FFFFFF
##B232B41.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1662B8
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#B74770
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b232b4;
/* rgb */ color: rgb(178, 50, 180);
/* oklch */ color: oklch(56.0% 0.217 327.3);
Tailwind
colors: {
  custom: {
    50: '#cd77cb',
    500: '#b232b4',
    950: '#000000',
  },
}
SCSS
$custom: #b232b4;
$custom-light: #cd77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b232b4",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 180
  },
  "hsl": {
    "h": 299.077,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56035,
    "c": 0.21673,
    "h": 327.3
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#B232B4
secondary
#7DC67C
accent
#E0484A
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82

Preview Lab

Preview with #B232B4

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

Preview Lab → · Contrast checker → · Palette generator →

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