#B23BBA#B23BBA

#B23BBA is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.211 H 325.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B23BBA
RGBrgb(178, 59, 186)
HSLhsl(296, 52%, 48%)
HSVhsv(296, 68%, 73%)
CMYKcmyk(4.3%, 68.3%, 0%, 27.1%)
CIE-LABlab(47.16, 63.55, -43.37)
CIE-LCHlch(47.16, 76.94, 325.69°)
OKLaboklab(57.19% 0.1735 -0.1205)
OKLCHoklch(57.19% 0.211 325.2)
XYZxyz(28.7863, 16.1399, 48.0439)
Luminance0.1614 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B23BBA #43BA3B
analogous
#723BBA #B23BBA #BA3B83
triadic
#B23BBA #BAB23B #3BBAB2
tetradic
#B23BBA #BA723B #43BA3B #3B83BA
square
#B23BBA #BA723B #43BA3B #3B83BA
split-complementary
#B23BBA #83BA3B #3BBA72
monochromatic
#591E5D #862C8C #B23BBA #C764CE #D893DD

Accessibility & contrast

On white

4.97
#B23BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#B23BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B23BBA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B23BBA#FFFFFF#000000##FFFFFF
##B23BBA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BE
Deuteranopia (green-blind)
#5475B7
Tritanopia (blue-blind)
#B64F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #b23bba;
/* rgb */ color: rgb(178, 59, 186);
/* oklch */ color: oklch(57.2% 0.211 325.2);
Tailwind
colors: {
  custom: {
    50: '#cd7bcf',
    500: '#b23bba',
    950: '#000000',
  },
}
SCSS
$custom: #b23bba;
$custom-light: #cd7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b23bba",
  "rgb": {
    "r": 178,
    "g": 59,
    "b": 186
  },
  "hsl": {
    "h": 296.22,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.21122,
    "h": 325.2
  },
  "luminance": 0.16138
}

Semantic roles & 50–950 ramp

primary
#B23BBA
secondary
#8DC889
accent
#DB4D56
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140A14
muted
#837C82

Preview Lab

Preview with #B23BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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