#BB26BD#BB26BD

#BB26BD is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 57.0% C 0.239 H 327.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BB26BD
RGBrgb(187, 38, 189)
HSLhsl(299, 67%, 45%)
HSVhsv(299, 80%, 74%)
CMYKcmyk(1.1%, 79.9%, 0%, 25.9%)
CIE-LABlab(46.48, 72.51, -46.11)
CIE-LCHlch(46.48, 85.93, 327.55°)
OKLaboklab(57.05% 0.2015 -0.1281)
OKLCHoklch(57.05% 0.239 327.6)
XYZxyz(30.3715, 15.6274, 49.5510)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB26BD #28BD26
analogous
#6F26BD #BB26BD #BD2674
triadic
#BB26BD #BDBB26 #26BDBB
tetradic
#BB26BD #BD6F26 #28BD26 #2674BD
square
#BB26BD #BD6F26 #28BD26 #2674BD
split-complementary
#BB26BD #74BD26 #26BD6F
monochromatic
#561257 #891C8A #BB26BD #D846DA #E379E4

Accessibility & contrast

On white

5.09
#BB26BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BB26BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB26BD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB26BD#FFFFFF#000000##FFFFFF
##BB26BD1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#5175B9
Tritanopia (blue-blind)
#C14273
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb26bd;
/* rgb */ color: rgb(187, 38, 189);
/* oklch */ color: oklch(57.0% 0.239 327.6);
Tailwind
colors: {
  custom: {
    50: '#d474d1',
    500: '#bb26bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb26bd;
$custom-light: #d474d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb26bd",
  "rgb": {
    "r": 187,
    "g": 38,
    "b": 189
  },
  "hsl": {
    "h": 299.205,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57045,
    "c": 0.23876,
    "h": 327.6
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#BB26BD
secondary
#74CC73
accent
#E93E41
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BB26BD

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

Preview Lab → · Contrast checker → · Palette generator →

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