#BB45BD#BB45BD

#BB45BD is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.6% C 0.206 H 327.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BB45BD
RGBrgb(187, 69, 189)
HSLhsl(299, 48%, 51%)
HSVhsv(299, 63%, 74%)
CMYKcmyk(1.1%, 63.5%, 0%, 25.9%)
CIE-LABlab(50.09, 62.25, -40.38)
CIE-LCHlch(50.09, 74.19, 327.03°)
OKLaboklab(59.63% 0.1726 -0.1116)
OKLCHoklch(59.63% 0.206 327.1)
XYZxyz(31.8064, 18.4972, 50.0293)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45BD #47BD45
analogous
#7F45BD #BB45BD #BD4583
triadic
#BB45BD #BDBB45 #45BDBB
tetradic
#BB45BD #BD7F45 #47BD45 #4583BD
square
#BB45BD #BD7F45 #47BD45 #4583BD
split-complementary
#BB45BD #83BD45 #45BD7F
monochromatic
#632464 #903491 #BB45BD #CC72CD #DC9FDD

Accessibility & contrast

On white

4.47
#BB45BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BB45BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45BD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45BD#FFFFFF#000000##000000
##BB45BD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#346DC1
Deuteranopia (green-blind)
#607DBA
Tritanopia (blue-blind)
#C0557B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb45bd;
/* rgb */ color: rgb(187, 69, 189);
/* oklch */ color: oklch(59.6% 0.206 327.1);
Tailwind
colors: {
  custom: {
    50: '#d381d1',
    500: '#bb45bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb45bd;
$custom-light: #d381d1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45bd",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 299,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59634,
    "c": 0.20555,
    "h": 327.1
  },
  "luminance": 0.18495
}

Semantic roles & 50–950 ramp

primary
#BB45BD
secondary
#95CA94
accent
#D75153
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BB45BD

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

Preview Lab → · Contrast checker → · Palette generator →

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