#B23BBC#B23BBC

#B23BBC is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.3% C 0.213 H 324.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B23BBC
RGBrgb(178, 59, 188)
HSLhsl(295, 52%, 48%)
HSVhsv(295, 69%, 74%)
CMYKcmyk(5.3%, 68.6%, 0%, 26.3%)
CIE-LABlab(47.27, 63.90, -44.36)
CIE-LCHlch(47.27, 77.79, 325.23°)
OKLaboklab(57.31% 0.1735 -0.1234)
OKLCHoklch(57.31% 0.213 324.6)
XYZxyz(29.0004, 16.2255, 49.1715)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BBC #45BC3B
analogous
#713BBC #B23BBC #BC3B85
triadic
#B23BBC #BCB23B #3BBCB2
tetradic
#B23BBC #BC713B #45BC3B #3B85BC
square
#B23BBC #BC713B #45BC3B #3B85BC
split-complementary
#B23BBC #85BC3B #3BBC71
monochromatic
#5A1E5F #862C8D #B23BBC #C765CF #D894DD

Accessibility & contrast

On white

4.95
#B23BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#B23BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BBC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BBC#FFFFFF#000000##FFFFFF
##B23BBC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67C0
Deuteranopia (green-blind)
#5375B9
Tritanopia (blue-blind)
#B65077
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23bbc;
/* rgb */ color: rgb(178, 59, 188);
/* oklch */ color: oklch(57.3% 0.213 324.6);
Tailwind
colors: {
  custom: {
    50: '#cd7bd1',
    500: '#b23bbc',
    950: '#000000',
  },
}
SCSS
$custom: #b23bbc;
$custom-light: #cd7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bbc",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 188
  },
  "hsl": {
    "h": 295.349,
    "s": 52.227,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57308,
    "c": 0.21288,
    "h": 324.6
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#B23BBC
secondary
#8FC98A
accent
#DC4C57
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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