#BB23B0#BB23B0

#BB23B0 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.1% C 0.232 H 331.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BB23B0
RGBrgb(187, 35, 176)
HSLhsl(304, 68%, 44%)
HSVhsv(304, 81%, 73%)
CMYKcmyk(0%, 81.3%, 5.9%, 26.7%)
CIE-LABlab(45.50, 71.24, -40.03)
CIE-LCHlch(45.50, 81.72, 330.67°)
OKLaboklab(56.12% 0.2039 -0.1104)
OKLCHoklch(56.12% 0.232 331.6)
XYZxyz(28.9311, 14.9039, 42.4189)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB23B0 #23BB2E
analogous
#7A23BB #BB23B0 #BB2364
triadic
#BB23B0 #B0BB23 #23B0BB
tetradic
#BB23B0 #BB7A23 #23BB2E #2364BB
square
#BB23B0 #BB7A23 #23BB2E #2364BB
split-complementary
#BB23B0 #64BB23 #23BB7A
monochromatic
#54104F #87197F #BB23B0 #DB40D0 #E574DD

Accessibility & contrast

On white

5.28
#BB23B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#BB23B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB23B0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB23B0#FFFFFF#000000##FFFFFF
##BB23B01.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5FB4
Deuteranopia (green-blind)
#5873AD
Tritanopia (blue-blind)
#C3396B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb23b0;
/* rgb */ color: rgb(187, 35, 176);
/* oklch */ color: oklch(56.1% 0.232 331.6);
Tailwind
colors: {
  custom: {
    50: '#d472c8',
    500: '#bb23b0',
    950: '#000000',
  },
}
SCSS
$custom: #bb23b0;
$custom-light: #d472c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb23b0",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 176
  },
  "hsl": {
    "h": 304.342,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56115,
    "c": 0.23191,
    "h": 331.6
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#BB23B0
secondary
#6ECC75
accent
#EB493C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB23B0

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

Preview Lab → · Contrast checker → · Palette generator →

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