#BB26B9#BB26B9

#BB26B9 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.8% C 0.236 H 328.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BB26B9
RGBrgb(187, 38, 185)
HSLhsl(301, 66%, 44%)
HSVhsv(301, 80%, 73%)
CMYKcmyk(0%, 79.7%, 1.1%, 26.7%)
CIE-LABlab(46.25, 71.89, -44.13)
CIE-LCHlch(46.25, 84.35, 328.45°)
OKLaboklab(56.81% 0.2017 -0.1223)
OKLCHoklch(56.81% 0.236 328.8)
XYZxyz(29.9433, 15.4561, 47.2958)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB26B9 #26BB28
analogous
#7226BB #BB26B9 #BB266F
triadic
#BB26B9 #B9BB26 #26B9BB
tetradic
#BB26B9 #BB7226 #26BB28 #266FBB
square
#BB26B9 #BB7226 #26BB28 #266FBB
split-complementary
#BB26B9 #6FBB26 #26BB72
monochromatic
#551154 #881C87 #BB26B9 #D945D7 #E478E2

Accessibility & contrast

On white

5.13
#BB26B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BB26B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB26B9
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB26B9#FFFFFF#000000##FFFFFF
##BB26B91.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#5474B6
Tritanopia (blue-blind)
#C14070
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb26b9;
/* rgb */ color: rgb(187, 38, 185);
/* oklch */ color: oklch(56.8% 0.236 328.8);
Tailwind
colors: {
  custom: {
    50: '#d474ce',
    500: '#bb26b9',
    950: '#000000',
  },
}
SCSS
$custom: #bb26b9;
$custom-light: #d474ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb26b9",
  "rgb": {
    "r": 187,
    "g": 38,
    "b": 185
  },
  "hsl": {
    "h": 300.805,
    "s": 66.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.23588,
    "h": 328.8
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

primary
#BB26B9
secondary
#72CB73
accent
#E9413F
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BB26B9

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

Preview Lab → · Contrast checker → · Palette generator →

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