#BB26C4#BB26C4

#BB26C4 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.5% C 0.244 H 325.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BB26C4
RGBrgb(187, 38, 196)
HSLhsl(297, 68%, 46%)
HSVhsv(297, 81%, 77%)
CMYKcmyk(4.6%, 80.6%, 0%, 23.1%)
CIE-LABlab(46.89, 73.63, -49.53)
CIE-LCHlch(46.89, 88.74, 326.07°)
OKLaboklab(57.47% 0.201 -0.1381)
OKLCHoklch(57.47% 0.244 325.5)
XYZxyz(31.1497, 15.9387, 53.6497)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB26C4 #2FC426
analogous
#6C26C4 #BB26C4 #C4267E
triadic
#BB26C4 #C4BB26 #26C4BB
tetradic
#BB26C4 #C46C26 #2FC426 #267EC4
square
#BB26C4 #C46C26 #2FC426 #267EC4
split-complementary
#BB26C4 #7EC426 #26C46C
monochromatic
#59125D #8A1C91 #BB26C4 #D44BDC #E07EE6

Accessibility & contrast

On white

5.02
#BB26C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BB26C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB26C4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB26C4#FFFFFF#000000##FFFFFF
##BB26C41.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C8
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#BF4677
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb26c4;
/* rgb */ color: rgb(187, 38, 196);
/* oklch */ color: oklch(57.5% 0.244 325.5);
Tailwind
colors: {
  custom: {
    50: '#d474d6',
    500: '#bb26c4',
    950: '#000000',
  },
}
SCSS
$custom: #bb26c4;
$custom-light: #d474d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb26c4",
  "rgb": {
    "r": 187,
    "g": 38,
    "b": 196
  },
  "hsl": {
    "h": 296.582,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57469,
    "c": 0.24388,
    "h": 325.5
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#BB26C4
secondary
#7CCE77
accent
#EA3D47
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150914
muted
#837B83

Preview Lab

Preview with #BB26C4

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

Preview Lab → · Contrast checker → · Palette generator →

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