#BB23B4#BB23B4

#BB23B4 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.235 H 330.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BB23B4
RGBrgb(187, 35, 180)
HSLhsl(303, 68%, 44%)
HSVhsv(303, 81%, 73%)
CMYKcmyk(0%, 81.3%, 3.7%, 26.7%)
CIE-LABlab(45.72, 71.84, -42.04)
CIE-LCHlch(45.72, 83.24, 329.67°)
OKLaboklab(56.34% 0.2039 -0.1162)
OKLCHoklch(56.34% 0.235 330.3)
XYZxyz(29.3327, 15.0645, 44.5340)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB23B4 #23BB2A
analogous
#7623BB #BB23B4 #BB2368
triadic
#BB23B4 #B4BB23 #23B4BB
tetradic
#BB23B4 #BB7623 #23BB2A #2368BB
square
#BB23B4 #BB7623 #23BB2A #2368BB
split-complementary
#BB23B4 #68BB23 #23BB76
monochromatic
#541051 #871982 #BB23B4 #DB40D4 #E574E0

Accessibility & contrast

On white

5.23
#BB23B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BB23B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB23B4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB23B4#FFFFFF#000000##FFFFFF
##BB23B41.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#C23B6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb23b4;
/* rgb */ color: rgb(187, 35, 180);
/* oklch */ color: oklch(56.3% 0.235 330.3);
Tailwind
colors: {
  custom: {
    50: '#d472cb',
    500: '#bb23b4',
    950: '#000000',
  },
}
SCSS
$custom: #bb23b4;
$custom-light: #d472cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb23b4",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 180
  },
  "hsl": {
    "h": 302.763,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56342,
    "c": 0.2347,
    "h": 330.3
  },
  "luminance": 0.15062
}

Semantic roles & 50–950 ramp

primary
#BB23B4
secondary
#6ECC72
accent
#EB453C
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB23B4

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

Preview Lab → · Contrast checker → · Palette generator →

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