#BB45B7#BB45B7

#BB45B7 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.3% C 0.201 H 329.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BB45B7
RGBrgb(187, 69, 183)
HSLhsl(302, 46%, 50%)
HSVhsv(302, 63%, 73%)
CMYKcmyk(0%, 63.1%, 2.1%, 26.7%)
CIE-LABlab(49.79, 61.23, -37.37)
CIE-LCHlch(49.79, 71.73, 328.60°)
OKLaboklab(59.31% 0.1722 -0.1029)
OKLCHoklch(59.31% 0.201 329.1)
XYZxyz(31.1686, 18.2421, 46.6700)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45B7 #45BB49
analogous
#8445BB #BB45B7 #BB457C
triadic
#BB45B7 #B7BB45 #45B7BB
tetradic
#BB45B7 #BB8445 #45BB49 #457CBB
square
#BB45B7 #BB8445 #45BB49 #457CBB
split-complementary
#BB45B7 #7CBB45 #45BB84
monochromatic
#622460 #8F348C #BB45B7 #CB72C8 #DC9FDA

Accessibility & contrast

On white

4.52
#BB45B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#BB45B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45B7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45B7#FFFFFF#000000##000000
##BB45B71.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#396CBA
Deuteranopia (green-blind)
#637CB4
Tritanopia (blue-blind)
#C15378
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb45b7;
/* rgb */ color: rgb(187, 69, 183);
/* oklch */ color: oklch(59.3% 0.201 329.1);
Tailwind
colors: {
  custom: {
    50: '#d381cd',
    500: '#bb45b7',
    950: '#000000',
  },
}
SCSS
$custom: #bb45b7;
$custom-light: #d381cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45b7",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 302.034,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59314,
    "c": 0.20063,
    "h": 329.1
  },
  "luminance": 0.1824
}

Semantic roles & 50–950 ramp

primary
#BB45B7
secondary
#94C895
accent
#D65652
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB45B7

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

Preview Lab → · Contrast checker → · Palette generator →

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