#BB45B4#BB45B4

#BB45B4 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.2% C 0.198 H 330.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BB45B4
RGBrgb(187, 69, 180)
HSLhsl(304, 46%, 50%)
HSVhsv(304, 63%, 73%)
CMYKcmyk(0%, 63.1%, 3.7%, 26.7%)
CIE-LABlab(49.64, 60.72, -35.85)
CIE-LCHlch(49.64, 70.52, 329.44°)
OKLaboklab(59.16% 0.172 -0.0986)
OKLCHoklch(59.16% 0.198 330.2)
XYZxyz(30.8597, 18.1185, 45.0430)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45B4 #45BB4C
analogous
#8745BB #BB45B4 #BB4579
triadic
#BB45B4 #B4BB45 #45B4BB
tetradic
#BB45B4 #BB8745 #45BB4C #4579BB
square
#BB45B4 #BB8745 #45BB4C #4579BB
split-complementary
#BB45B4 #79BB45 #45BB87
monochromatic
#62245E #8F3489 #BB45B4 #CB72C6 #DC9FD8

Accessibility & contrast

On white

4.54
#BB45B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BB45B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45B4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45B4#FFFFFF#000000##000000
##BB45B41.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6CB7
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#C25276
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb45b4;
/* rgb */ color: rgb(187, 69, 180);
/* oklch */ color: oklch(59.2% 0.198 330.2);
Tailwind
colors: {
  custom: {
    50: '#d381cb',
    500: '#bb45b4',
    950: '#000000',
  },
}
SCSS
$custom: #bb45b4;
$custom-light: #d381cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45b4",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 180
  },
  "hsl": {
    "h": 303.559,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59158,
    "c": 0.1982,
    "h": 330.2
  },
  "luminance": 0.18116
}

Semantic roles & 50–950 ramp

primary
#BB45B4
secondary
#94C897
accent
#D65A52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB45B4

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

Preview Lab → · Contrast checker → · Palette generator →

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