#BB45BB#BB45BB

#BB45BB is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.5% C 0.204 H 327.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BB45BB
RGBrgb(187, 69, 187)
HSLhsl(300, 46%, 50%)
HSVhsv(300, 63%, 73%)
CMYKcmyk(0%, 63.1%, 0%, 26.7%)
CIE-LABlab(49.99, 61.90, -39.38)
CIE-LCHlch(49.99, 73.37, 327.54°)
OKLaboklab(59.53% 0.1725 -0.1088)
OKLCHoklch(59.53% 0.204 327.8)
XYZxyz(31.5908, 18.4110, 48.8938)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45BB #45BB45
analogous
#8045BB #BB45BB #BB4580
triadic
#BB45BB #BBBB45 #45BBBB
tetradic
#BB45BB #BB8045 #45BB45 #4580BB
square
#BB45BB #BB8045 #45BB45 #4580BB
split-complementary
#BB45BB #80BB45 #45BB80
monochromatic
#622462 #8F348F #BB45BB #CB72CB #DC9FDC

Accessibility & contrast

On white

4.49
#BB45BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BB45BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45BB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45BB#FFFFFF#000000##000000
##BB45BB1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#366DBF
Deuteranopia (green-blind)
#617CB8
Tritanopia (blue-blind)
#C1557A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb45bb;
/* rgb */ color: rgb(187, 69, 187);
/* oklch */ color: oklch(59.5% 0.204 327.8);
Tailwind
colors: {
  custom: {
    50: '#d381d0',
    500: '#bb45bb',
    950: '#000000',
  },
}
SCSS
$custom: #bb45bb;
$custom-light: #d381d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45bb",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59526,
    "c": 0.2039,
    "h": 327.8
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#BB45BB
secondary
#94C894
accent
#D65252
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BB45BB

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

Preview Lab → · Contrast checker → · Palette generator →

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