#BB26B8#BB26B8

#BB26B8 is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.8% C 0.235 H 329.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BB26B8
RGBrgb(187, 38, 184)
HSLhsl(301, 66%, 44%)
HSVhsv(301, 80%, 73%)
CMYKcmyk(0%, 79.7%, 1.6%, 26.7%)
CIE-LABlab(46.20, 71.73, -43.64)
CIE-LCHlch(46.20, 83.96, 328.69°)
OKLaboklab(56.75% 0.2017 -0.1209)
OKLCHoklch(56.75% 0.235 329.1)
XYZxyz(29.8381, 15.4140, 46.7418)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB26B8 #26BB29
analogous
#7426BB #BB26B8 #BB266E
triadic
#BB26B8 #B8BB26 #26B8BB
tetradic
#BB26B8 #BB7426 #26BB29 #266EBB
square
#BB26B8 #BB7426 #26BB29 #266EBB
split-complementary
#BB26B8 #6EBB26 #26BB74
monochromatic
#551154 #881C86 #BB26B8 #D945D6 #E478E1

Accessibility & contrast

On white

5.14
#BB26B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BB26B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB26B8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB26B8#FFFFFF#000000##FFFFFF
##BB26B81.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#5574B5
Tritanopia (blue-blind)
#C23F70
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb26b8;
/* rgb */ color: rgb(187, 38, 184);
/* oklch */ color: oklch(56.8% 0.235 329.1);
Tailwind
colors: {
  custom: {
    50: '#d474ce',
    500: '#bb26b8',
    950: '#000000',
  },
}
SCSS
$custom: #bb26b8;
$custom-light: #d474ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb26b8",
  "rgb": {
    "r": 187,
    "g": 38,
    "b": 184
  },
  "hsl": {
    "h": 301.208,
    "s": 66.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56751,
    "c": 0.23517,
    "h": 329.1
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#BB26B8
secondary
#72CB73
accent
#E9423F
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #BB26B8

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

Preview Lab → · Contrast checker → · Palette generator →

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