#BB45B3#BB45B3

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

Color values

HEX#BB45B3
RGBrgb(187, 69, 179)
HSLhsl(304, 46%, 50%)
HSVhsv(304, 63%, 73%)
CMYKcmyk(0%, 63.1%, 4.3%, 26.7%)
CIE-LABlab(49.59, 60.56, -35.34)
CIE-LCHlch(49.59, 70.12, 329.73°)
OKLaboklab(59.11% 0.1719 -0.0971)
OKLCHoklch(59.11% 0.197 330.5)
XYZxyz(30.7582, 18.0779, 44.5084)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45B3 #45BB4D
analogous
#8845BB #BB45B3 #BB4578
triadic
#BB45B3 #B3BB45 #45B3BB
tetradic
#BB45B3 #BB8845 #45BB4D #4578BB
square
#BB45B3 #BB8845 #45BB4D #4578BB
split-complementary
#BB45B3 #78BB45 #45BB88
monochromatic
#62245E #8F3489 #BB45B3 #CB72C5 #DC9FD8

Accessibility & contrast

On white

4.55
#BB45B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB45B3#FFFFFF#000000##000000
##BB45B31.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB6
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#C25176
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb45b3;
/* rgb */ color: rgb(187, 69, 179);
/* oklch */ color: oklch(59.1% 0.197 330.5);
Tailwind
colors: {
  custom: {
    50: '#d381ca',
    500: '#bb45b3',
    950: '#000000',
  },
}
SCSS
$custom: #bb45b3;
$custom-light: #d381ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45b3",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 304.068,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59106,
    "c": 0.1974,
    "h": 330.5
  },
  "luminance": 0.18076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB45B3

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

Preview Lab → · Contrast checker → · Palette generator →

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