#B23BBB#B23BBB

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

Color values

HEX#B23BBB
RGBrgb(178, 59, 187)
HSLhsl(296, 52%, 48%)
HSVhsv(296, 68%, 73%)
CMYKcmyk(4.8%, 68.4%, 0%, 26.7%)
CIE-LABlab(47.21, 63.72, -43.86)
CIE-LCHlch(47.21, 77.36, 325.46°)
OKLaboklab(57.25% 0.1735 -0.1219)
OKLCHoklch(57.25% 0.212 324.9)
XYZxyz(28.8930, 16.1826, 48.6058)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BBB #44BB3B
analogous
#723BBB #B23BBB #BB3B84
triadic
#B23BBB #BBB23B #3BBBB2
tetradic
#B23BBB #BB723B #44BB3B #3B84BB
square
#B23BBB #BB723B #44BB3B #3B84BB
split-complementary
#B23BBB #84BB3B #3BBB72
monochromatic
#591E5E #862C8C #B23BBB #C765CE #D893DD

Accessibility & contrast

On white

4.96
#B23BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B23BBB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BBB#FFFFFF#000000##FFFFFF
##B23BBB1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#B64F77
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23bbb;
/* rgb */ color: rgb(178, 59, 187);
/* oklch */ color: oklch(57.3% 0.212 324.9);
Tailwind
colors: {
  custom: {
    50: '#cd7bd0',
    500: '#b23bbb',
    950: '#000000',
  },
}
SCSS
$custom: #b23bbb;
$custom-light: #cd7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bbb",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 187
  },
  "hsl": {
    "h": 295.781,
    "s": 52.033,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.21205,
    "h": 324.9
  },
  "luminance": 0.16181
}

Semantic roles & 50–950 ramp

primary
#B23BBB
secondary
#8EC88A
accent
#DB4C56
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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