#BB23B7#BB23B7

#BB23B7 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.5% C 0.237 H 329.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BB23B7
RGBrgb(187, 35, 183)
HSLhsl(302, 68%, 44%)
HSVhsv(302, 81%, 73%)
CMYKcmyk(0%, 81.3%, 2.1%, 26.7%)
CIE-LABlab(45.89, 72.30, -43.54)
CIE-LCHlch(45.89, 84.40, 328.94°)
OKLaboklab(56.52% 0.2038 -0.1206)
OKLCHoklch(56.52% 0.237 329.4)
XYZxyz(29.6416, 15.1881, 46.1610)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB23B7 #23BB27
analogous
#7323BB #BB23B7 #BB236B
triadic
#BB23B7 #B7BB23 #23B7BB
tetradic
#BB23B7 #BB7323 #23BB27 #236BBB
square
#BB23B7 #BB7323 #23BB27 #236BBB
split-complementary
#BB23B7 #6BBB23 #23BB73
monochromatic
#541052 #871985 #BB23B7 #DB40D7 #E574E2

Accessibility & contrast

On white

5.20
#BB23B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BB23B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB23B7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB23B7#FFFFFF#000000##FFFFFF
##BB23B71.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BB
Deuteranopia (green-blind)
#5473B4
Tritanopia (blue-blind)
#C23D6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb23b7;
/* rgb */ color: rgb(187, 35, 183);
/* oklch */ color: oklch(56.5% 0.237 329.4);
Tailwind
colors: {
  custom: {
    50: '#d473cd',
    500: '#bb23b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb23b7;
$custom-light: #d473cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb23b7",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 183
  },
  "hsl": {
    "h": 301.579,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.2368,
    "h": 329.4
  },
  "luminance": 0.15186
}

Semantic roles & 50–950 ramp

primary
#BB23B7
secondary
#6ECC70
accent
#EB413C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BB23B7

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

Preview Lab → · Contrast checker → · Palette generator →

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