#BB25B1#BB25B1

#BB25B1 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.231 H 331.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#BB25B1
RGBrgb(187, 37, 177)
HSLhsl(304, 67%, 44%)
HSVhsv(304, 80%, 73%)
CMYKcmyk(0%, 80.2%, 5.3%, 26.7%)
CIE-LABlab(45.72, 70.91, -40.27)
CIE-LCHlch(45.72, 81.55, 330.41°)
OKLaboklab(56.29% 0.2025 -0.1111)
OKLCHoklch(56.29% 0.231 331.2)
XYZxyz(29.0909, 15.0647, 42.9621)
Luminance0.1506 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB25B1 #25BB2F
analogous
#7A25BB #BB25B1 #BB2566
triadic
#BB25B1 #B1BB25 #25B1BB
tetradic
#BB25B1 #BB7A25 #25BB2F #2566BB
square
#BB25B1 #BB7A25 #25BB2F #2566BB
split-complementary
#BB25B1 #66BB25 #25BB7A
monochromatic
#551150 #881B81 #BB25B1 #DA43D0 #E476DD

Accessibility & contrast

On white

5.23
#BB25B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#BB25B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB25B1
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB25B1#FFFFFF#000000##FFFFFF
##BB25B11.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105FB5
Deuteranopia (green-blind)
#5873AE
Tritanopia (blue-blind)
#C33B6C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #bb25b1;
/* rgb */ color: rgb(187, 37, 177);
/* oklch */ color: oklch(56.3% 0.231 331.2);
Tailwind
colors: {
  custom: {
    50: '#d473c9',
    500: '#bb25b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb25b1;
$custom-light: #d473c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb25b1",
  "rgb": {
    "r": 187,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 304,
    "s": 66.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56289,
    "c": 0.23102,
    "h": 331.2
  },
  "luminance": 0.15062
}

Semantic roles & 50–950 ramp

primary
#BB25B1
secondary
#70CB76
accent
#EA493E
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BB25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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