#BB23B6#BB23B6

#BB23B6 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.5% C 0.236 H 329.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BB23B6
RGBrgb(187, 35, 182)
HSLhsl(302, 68%, 44%)
HSVhsv(302, 81%, 73%)
CMYKcmyk(0%, 81.3%, 2.7%, 26.7%)
CIE-LABlab(45.83, 72.15, -43.04)
CIE-LCHlch(45.83, 84.01, 329.18°)
OKLaboklab(56.46% 0.2038 -0.1191)
OKLCHoklch(56.46% 0.236 329.7)
XYZxyz(29.5379, 15.1466, 45.6148)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB23B6 #23BB28
analogous
#7423BB #BB23B6 #BB236A
triadic
#BB23B6 #B6BB23 #23B6BB
tetradic
#BB23B6 #BB7423 #23BB28 #236ABB
square
#BB23B6 #BB7423 #23BB28 #236ABB
split-complementary
#BB23B6 #6ABB23 #23BB74
monochromatic
#541052 #871984 #BB23B6 #DB40D6 #E574E1

Accessibility & contrast

On white

5.21
#BB23B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#BB23B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB23B6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB23B6#FFFFFF#000000##FFFFFF
##BB23B61.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BA
Deuteranopia (green-blind)
#5573B3
Tritanopia (blue-blind)
#C23C6E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb23b6;
/* rgb */ color: rgb(187, 35, 182);
/* oklch */ color: oklch(56.5% 0.236 329.7);
Tailwind
colors: {
  custom: {
    50: '#d473cc',
    500: '#bb23b6',
    950: '#000000',
  },
}
SCSS
$custom: #bb23b6;
$custom-light: #d473cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb23b6",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 182
  },
  "hsl": {
    "h": 301.974,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56458,
    "c": 0.2361,
    "h": 329.7
  },
  "luminance": 0.15144
}

Semantic roles & 50–950 ramp

primary
#BB23B6
secondary
#6ECC71
accent
#EB423C
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BB23B6

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

Preview Lab → · Contrast checker → · Palette generator →

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