#B232BB#B232BB

#B232BB is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.222 H 325.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B232BB
RGBrgb(178, 50, 187)
HSLhsl(296, 58%, 46%)
HSVhsv(296, 73%, 73%)
CMYKcmyk(4.8%, 73.3%, 0%, 26.7%)
CIE-LABlab(46.09, 66.91, -45.65)
CIE-LCHlch(46.09, 81.00, 325.69°)
OKLaboklab(56.45% 0.1823 -0.1271)
OKLCHoklch(56.45% 0.222 325.1)
XYZxyz(28.4697, 15.3359, 48.4647)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B232BB #3BBB32
analogous
#6E32BB #B232BB #BB3280
triadic
#B232BB #BBB232 #32BBB2
tetradic
#B232BB #BB6E32 #3BBB32 #3280BB
square
#B232BB #BB6E32 #3BBB32 #3280BB
split-complementary
#B232BB #80BB32 #32BB6E
monochromatic
#56185A #84258B #B232BB #CA58D2 #DA88DF

Accessibility & contrast

On white

5.16
#B232BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#B232BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B232BB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B232BB#FFFFFF#000000##FFFFFF
##B232BB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#4F72B8
Tritanopia (blue-blind)
#B64A74
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b232bb;
/* rgb */ color: rgb(178, 50, 187);
/* oklch */ color: oklch(56.4% 0.222 325.1);
Tailwind
colors: {
  custom: {
    50: '#cd77d0',
    500: '#b232bb',
    950: '#000000',
  },
}
SCSS
$custom: #b232bb;
$custom-light: #cd77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b232bb",
  "rgb": {
    "r": 178,
    "g": 50,
    "b": 187
  },
  "hsl": {
    "h": 296.058,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.22222,
    "h": 325.1
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#B232BB
secondary
#85C980
accent
#E14751
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B232BB

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

Preview Lab → · Contrast checker → · Palette generator →

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