#BB23AB#BB23AB

#BB23AB is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.228 H 333.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BB23AB
RGBrgb(187, 35, 171)
HSLhsl(306, 68%, 44%)
HSVhsv(306, 81%, 73%)
CMYKcmyk(0%, 81.3%, 8.6%, 26.7%)
CIE-LABlab(45.23, 70.51, -37.50)
CIE-LCHlch(45.23, 79.86, 331.99°)
OKLaboklab(55.84% 0.2039 -0.1031)
OKLCHoklch(55.84% 0.228 333.2)
XYZxyz(28.4455, 14.7097, 39.8613)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB23AB #23BB33
analogous
#7F23BB #BB23AB #BB235F
triadic
#BB23AB #ABBB23 #23ABBB
tetradic
#BB23AB #BB7F23 #23BB33 #235FBB
square
#BB23AB #BB7F23 #23BB33 #235FBB
split-complementary
#BB23AB #5FBB23 #23BB7F
monochromatic
#54104D #87197C #BB23AB #DB40CB #E574D9

Accessibility & contrast

On white

5.33
#BB23AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BB23AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB23AB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB23AB#FFFFFF#000000##FFFFFF
##BB23AB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195DAE
Deuteranopia (green-blind)
#5B72A8
Tritanopia (blue-blind)
#C43668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #bb23ab;
/* rgb */ color: rgb(187, 35, 171);
/* oklch */ color: oklch(55.8% 0.228 333.2);
Tailwind
colors: {
  custom: {
    50: '#d472c4',
    500: '#bb23ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb23ab;
$custom-light: #d472c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb23ab",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 171
  },
  "hsl": {
    "h": 306.316,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.22849,
    "h": 333.2
  },
  "luminance": 0.14707
}

Semantic roles & 50–950 ramp

primary
#BB23AB
secondary
#6ECC78
accent
#EB4F3C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB23AB

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

Preview Lab → · Contrast checker → · Palette generator →

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