#BB45B5#BB45B5

#BB45B5 is a mid, vivid purple. Relative luminance 0.182; OKLCH L 59.2% C 0.199 H 329.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BB45B5
RGBrgb(187, 69, 181)
HSLhsl(303, 46%, 50%)
HSVhsv(303, 63%, 73%)
CMYKcmyk(0%, 63.1%, 3.2%, 26.7%)
CIE-LABlab(49.69, 60.89, -36.36)
CIE-LCHlch(49.69, 70.92, 329.16°)
OKLaboklab(59.21% 0.172 -0.1)
OKLCHoklch(59.21% 0.199 329.8)
XYZxyz(30.9619, 18.1594, 45.5815)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45B5 #45BB4B
analogous
#8645BB #BB45B5 #BB457A
triadic
#BB45B5 #B5BB45 #45B5BB
tetradic
#BB45B5 #BB8645 #45BB4B #457ABB
square
#BB45B5 #BB8645 #45BB4B #457ABB
split-complementary
#BB45B5 #7ABB45 #45BB86
monochromatic
#62245F #8F348A #BB45B5 #CB72C7 #DC9FD9

Accessibility & contrast

On white

4.53
#BB45B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BB45B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45B5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45B5#FFFFFF#000000##000000
##BB45B51.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#647CB2
Tritanopia (blue-blind)
#C25277
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb45b5;
/* rgb */ color: rgb(187, 69, 181);
/* oklch */ color: oklch(59.2% 0.199 329.8);
Tailwind
colors: {
  custom: {
    50: '#d381cb',
    500: '#bb45b5',
    950: '#000000',
  },
}
SCSS
$custom: #bb45b5;
$custom-light: #d381cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45b5",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 303.051,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59209,
    "c": 0.199,
    "h": 329.8
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#BB45B5
secondary
#94C896
accent
#D65852
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB45B5

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

Preview Lab → · Contrast checker → · Palette generator →

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