#BB23B2#BB23B2

#BB23B2 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.2% C 0.233 H 330.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BB23B2
RGBrgb(187, 35, 178)
HSLhsl(304, 68%, 44%)
HSVhsv(304, 81%, 73%)
CMYKcmyk(0%, 81.3%, 4.8%, 26.7%)
CIE-LABlab(45.61, 71.54, -41.04)
CIE-LCHlch(45.61, 82.48, 330.16°)
OKLaboklab(56.23% 0.2039 -0.1133)
OKLCHoklch(56.23% 0.233 330.9)
XYZxyz(29.1304, 14.9836, 43.4687)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB23B2 #23BB2C
analogous
#7823BB #BB23B2 #BB2366
triadic
#BB23B2 #B2BB23 #23B2BB
tetradic
#BB23B2 #BB7823 #23BB2C #2366BB
square
#BB23B2 #BB7823 #23BB2C #2366BB
split-complementary
#BB23B2 #66BB23 #23BB78
monochromatic
#541050 #871981 #BB23B2 #DB40D2 #E574DE

Accessibility & contrast

On white

5.25
#BB23B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#BB23B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB23B2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB23B2#FFFFFF#000000##FFFFFF
##BB23B21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075FB6
Deuteranopia (green-blind)
#5773AF
Tritanopia (blue-blind)
#C33A6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb23b2;
/* rgb */ color: rgb(187, 35, 178);
/* oklch */ color: oklch(56.2% 0.233 330.9);
Tailwind
colors: {
  custom: {
    50: '#d472c9',
    500: '#bb23b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb23b2;
$custom-light: #d472c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb23b2",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 303.553,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56228,
    "c": 0.2333,
    "h": 330.9
  },
  "luminance": 0.14981
}

Semantic roles & 50–950 ramp

primary
#BB23B2
secondary
#6ECC73
accent
#EB473C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB23B2

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

Preview Lab → · Contrast checker → · Palette generator →

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