#BB45B0#BB45B0

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

Color values

HEX#BB45B0
RGBrgb(187, 69, 176)
HSLhsl(306, 46%, 50%)
HSVhsv(306, 63%, 73%)
CMYKcmyk(0%, 63.1%, 5.9%, 26.7%)
CIE-LABlab(49.45, 60.07, -33.82)
CIE-LCHlch(49.45, 68.93, 330.62°)
OKLaboklab(58.95% 0.1716 -0.0927)
OKLCHoklch(58.95% 0.195 331.6)
XYZxyz(30.4581, 17.9579, 42.9279)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45B0 #45BB50
analogous
#8B45BB #BB45B0 #BB4575
triadic
#BB45B0 #B0BB45 #45B0BB
tetradic
#BB45B0 #BB8B45 #45BB50 #4575BB
square
#BB45B0 #BB8B45 #45BB50 #4575BB
split-complementary
#BB45B0 #75BB45 #45BB8B
monochromatic
#62245C #8F3486 #BB45B0 #CB72C3 #DC9FD6

Accessibility & contrast

On white

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

On black

4.59
#BB45B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45B0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45B0#FFFFFF#000000##000000
##BB45B01.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F6BB3
Deuteranopia (green-blind)
#677BAD
Tritanopia (blue-blind)
#C25074
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb45b0;
/* rgb */ color: rgb(187, 69, 176);
/* oklch */ color: oklch(59.0% 0.195 331.6);
Tailwind
colors: {
  custom: {
    50: '#d381c8',
    500: '#bb45b0',
    950: '#000000',
  },
}
SCSS
$custom: #bb45b0;
$custom-light: #d381c8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45b0",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 176
  },
  "hsl": {
    "h": 305.593,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.19502,
    "h": 331.6
  },
  "luminance": 0.17956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB45B0

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

Preview Lab → · Contrast checker → · Palette generator →

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