#BB23B8#BB23B8

#BB23B8 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.6% C 0.238 H 329.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BB23B8
RGBrgb(187, 35, 184)
HSLhsl(301, 68%, 44%)
HSVhsv(301, 81%, 73%)
CMYKcmyk(0%, 81.3%, 1.6%, 26.7%)
CIE-LABlab(45.95, 72.45, -44.03)
CIE-LCHlch(45.95, 84.79, 328.71°)
OKLaboklab(56.57% 0.2038 -0.122)
OKLCHoklch(56.57% 0.238 329.1)
XYZxyz(29.7460, 15.2299, 46.7111)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB23B8 #23BB26
analogous
#7223BB #BB23B8 #BB236C
triadic
#BB23B8 #B8BB23 #23B8BB
tetradic
#BB23B8 #BB7223 #23BB26 #236CBB
square
#BB23B8 #BB7223 #23BB26 #236CBB
split-complementary
#BB23B8 #6CBB23 #23BB72
monochromatic
#541053 #871985 #BB23B8 #DB40D8 #E574E3

Accessibility & contrast

On white

5.19
#BB23B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BB23B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB23B8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB23B8#FFFFFF#000000##FFFFFF
##BB23B81.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BC
Deuteranopia (green-blind)
#5474B5
Tritanopia (blue-blind)
#C23E6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb23b8;
/* rgb */ color: rgb(187, 35, 184);
/* oklch */ color: oklch(56.6% 0.238 329.1);
Tailwind
colors: {
  custom: {
    50: '#d473ce',
    500: '#bb23b8',
    950: '#000000',
  },
}
SCSS
$custom: #bb23b8;
$custom-light: #d473ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb23b8",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 184
  },
  "hsl": {
    "h": 301.184,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56574,
    "c": 0.23751,
    "h": 329.1
  },
  "luminance": 0.15228
}

Semantic roles & 50–950 ramp

primary
#BB23B8
secondary
#6ECC70
accent
#EB403C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BB23B8

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

Preview Lab → · Contrast checker → · Palette generator →

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