#BB45B1#BB45B1

#BB45B1 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 59.0% C 0.196 H 331.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BB45B1
RGBrgb(187, 69, 177)
HSLhsl(305, 46%, 50%)
HSVhsv(305, 63%, 73%)
CMYKcmyk(0%, 63.1%, 5.3%, 26.7%)
CIE-LABlab(49.49, 60.23, -34.33)
CIE-LCHlch(49.49, 69.32, 330.32°)
OKLaboklab(59% 0.1717 -0.0942)
OKLCHoklch(59% 0.196 331.2)
XYZxyz(30.5574, 17.9976, 43.4509)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45B1 #45BB4F
analogous
#8A45BB #BB45B1 #BB4576
triadic
#BB45B1 #B1BB45 #45B1BB
tetradic
#BB45B1 #BB8A45 #45BB4F #4576BB
square
#BB45B1 #BB8A45 #45BB4F #4576BB
split-complementary
#BB45B1 #76BB45 #45BB8A
monochromatic
#62245D #8F3487 #BB45B1 #CB72C4 #DC9FD7

Accessibility & contrast

On white

4.57
#BB45B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BB45B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45B1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45B1#FFFFFF#000000##000000
##BB45B11.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#667CAE
Tritanopia (blue-blind)
#C25175
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb45b1;
/* rgb */ color: rgb(187, 69, 177);
/* oklch */ color: oklch(59.0% 0.196 331.2);
Tailwind
colors: {
  custom: {
    50: '#d381c8',
    500: '#bb45b1',
    950: '#000000',
  },
}
SCSS
$custom: #bb45b1;
$custom-light: #d381c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45b1",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 177
  },
  "hsl": {
    "h": 305.085,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59004,
    "c": 0.1958,
    "h": 331.2
  },
  "luminance": 0.17995
}

Semantic roles & 50–950 ramp

primary
#BB45B1
secondary
#94C898
accent
#D65D52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB45B1

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

Preview Lab → · Contrast checker → · Palette generator →

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