#BB45B2#BB45B2

#BB45B2 is a mid, vivid purple. Relative luminance 0.180; OKLCH L 59.1% C 0.197 H 330.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BB45B2
RGBrgb(187, 69, 178)
HSLhsl(305, 46%, 50%)
HSVhsv(305, 63%, 73%)
CMYKcmyk(0%, 63.1%, 4.8%, 26.7%)
CIE-LABlab(49.54, 60.39, -34.84)
CIE-LCHlch(49.54, 69.72, 330.02°)
OKLaboklab(59.06% 0.1718 -0.0957)
OKLCHoklch(59.06% 0.197 330.9)
XYZxyz(30.6574, 18.0376, 43.9777)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45B2 #45BB4E
analogous
#8945BB #BB45B2 #BB4577
triadic
#BB45B2 #B2BB45 #45B2BB
tetradic
#BB45B2 #BB8945 #45BB4E #4577BB
square
#BB45B2 #BB8945 #45BB4E #4577BB
split-complementary
#BB45B2 #77BB45 #45BB89
monochromatic
#62245D #8F3488 #BB45B2 #CB72C5 #DC9FD7

Accessibility & contrast

On white

4.56
#BB45B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BB45B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45B2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45B2#FFFFFF#000000##000000
##BB45B21.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb45b2;
/* rgb */ color: rgb(187, 69, 178);
/* oklch */ color: oklch(59.1% 0.197 330.9);
Tailwind
colors: {
  custom: {
    50: '#d381c9',
    500: '#bb45b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb45b2;
$custom-light: #d381c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45b2",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 304.576,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59055,
    "c": 0.1966,
    "h": 330.9
  },
  "luminance": 0.18035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB45B2

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

Preview Lab → · Contrast checker → · Palette generator →

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