#BB23B5#BB23B5

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

Color values

HEX#BB23B5
RGBrgb(187, 35, 181)
HSLhsl(302, 68%, 44%)
HSVhsv(302, 81%, 73%)
CMYKcmyk(0%, 81.3%, 3.2%, 26.7%)
CIE-LABlab(45.78, 72.00, -42.54)
CIE-LCHlch(45.78, 83.63, 329.42°)
OKLaboklab(56.4% 0.2039 -0.1177)
OKLCHoklch(56.4% 0.235 330)
XYZxyz(29.4349, 15.1054, 45.0725)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB23B5 #23BB29
analogous
#7523BB #BB23B5 #BB2369
triadic
#BB23B5 #B5BB23 #23B5BB
tetradic
#BB23B5 #BB7523 #23BB29 #2369BB
square
#BB23B5 #BB7523 #23BB29 #2369BB
split-complementary
#BB23B5 #69BB23 #23BB75
monochromatic
#541051 #871983 #BB23B5 #DB40D5 #E574E0

Accessibility & contrast

On white

5.22
#BB23B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#BB23B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB23B5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB23B5#FFFFFF#000000##FFFFFF
##BB23B51.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060B9
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#C23C6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb23b5;
/* rgb */ color: rgb(187, 35, 181);
/* oklch */ color: oklch(56.4% 0.235 330.0);
Tailwind
colors: {
  custom: {
    50: '#d473cc',
    500: '#bb23b5',
    950: '#000000',
  },
}
SCSS
$custom: #bb23b5;
$custom-light: #d473cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb23b5",
  "rgb": {
    "r": 187,
    "g": 35,
    "b": 181
  },
  "hsl": {
    "h": 302.368,
    "s": 68.468,
    "l": 43.529
  },
  "oklch": {
    "l": 0.564,
    "c": 0.2354,
    "h": 330
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#BB23B5
secondary
#6ECC72
accent
#EB433C
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BB23B5

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

Preview Lab → · Contrast checker → · Palette generator →

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