#BB23B9#BB23B9

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

Color values

HEX#BB23B9
RGBrgb(187, 35, 185)
HSLhsl(301, 68%, 44%)
HSVhsv(301, 81%, 73%)
CMYKcmyk(0%, 81.3%, 1.1%, 26.7%)
CIE-LABlab(46.00, 72.61, -44.53)
CIE-LCHlch(46.00, 85.17, 328.48°)
OKLaboklab(56.63% 0.2037 -0.1235)
OKLCHoklch(56.63% 0.238 328.8)
XYZxyz(29.8512, 15.2720, 47.2651)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB23B9 #23BB25
analogous
#7123BB #BB23B9 #BB236D
triadic
#BB23B9 #B9BB23 #23B9BB
tetradic
#BB23B9 #BB7123 #23BB25 #236DBB
square
#BB23B9 #BB7123 #23BB25 #236DBB
split-complementary
#BB23B9 #6DBB23 #23BB71
monochromatic
#541053 #871986 #BB23B9 #DB40D9 #E574E3

Accessibility & contrast

On white

5.18
#BB23B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB23B9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB23B9#FFFFFF#000000##FFFFFF
##BB23B91.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BD
Deuteranopia (green-blind)
#5374B5
Tritanopia (blue-blind)
#C13E70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb23b9;
/* rgb */ color: rgb(187, 35, 185);
/* oklch */ color: oklch(56.6% 0.238 328.8);
Tailwind
colors: {
  custom: {
    50: '#d473ce',
    500: '#bb23b9',
    950: '#000000',
  },
}
SCSS
$custom: #bb23b9;
$custom-light: #d473ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb23b9",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 185
  },
  "hsl": {
    "h": 300.789,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56633,
    "c": 0.23822,
    "h": 328.8
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#BB23B9
secondary
#6ECC6F
accent
#EB3F3C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BB23B9

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

Preview Lab → · Contrast checker → · Palette generator →

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