#BB45B9#BB45B9

#BB45B9 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.4% C 0.202 H 328.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BB45B9
RGBrgb(187, 69, 185)
HSLhsl(301, 46%, 50%)
HSVhsv(301, 63%, 73%)
CMYKcmyk(0%, 63.1%, 1.1%, 26.7%)
CIE-LABlab(49.89, 61.56, -38.37)
CIE-LCHlch(49.89, 72.54, 328.06°)
OKLaboklab(59.42% 0.1723 -0.1059)
OKLCHoklch(59.42% 0.202 328.4)
XYZxyz(31.3782, 18.3259, 47.7741)
Luminance0.1832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45B9 #45BB47
analogous
#8245BB #BB45B9 #BB457E
triadic
#BB45B9 #B9BB45 #45B9BB
tetradic
#BB45B9 #BB8245 #45BB47 #457EBB
square
#BB45B9 #BB8245 #45BB47 #457EBB
split-complementary
#BB45B9 #7EBB45 #45BB82
monochromatic
#622461 #8F348D #BB45B9 #CB72CA #DC9FDB

Accessibility & contrast

On white

4.50
#BB45B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#BB45B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45B9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45B9#FFFFFF#000000##000000
##BB45B91.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#386DBC
Deuteranopia (green-blind)
#627CB6
Tritanopia (blue-blind)
#C15479
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bb45b9;
/* rgb */ color: rgb(187, 69, 185);
/* oklch */ color: oklch(59.4% 0.202 328.4);
Tailwind
colors: {
  custom: {
    50: '#d381ce',
    500: '#bb45b9',
    950: '#000000',
  },
}
SCSS
$custom: #bb45b9;
$custom-light: #d381ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45b9",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 301.017,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5942,
    "c": 0.20226,
    "h": 328.4
  },
  "luminance": 0.18324
}

Semantic roles & 50–950 ramp

primary
#BB45B9
secondary
#94C894
accent
#D65452
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BB45B9

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

Preview Lab → · Contrast checker → · Palette generator →

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