#BB45C1#BB45C1

#BB45C1 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 59.9% C 0.209 H 325.8°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BB45C1
RGBrgb(187, 69, 193)
HSLhsl(297, 50%, 51%)
HSVhsv(297, 64%, 76%)
CMYKcmyk(3.1%, 64.2%, 0%, 24.3%)
CIE-LABlab(50.30, 62.94, -42.36)
CIE-LCHlch(50.30, 75.87, 326.06°)
OKLaboklab(59.85% 0.1728 -0.1174)
OKLCHoklch(59.85% 0.209 325.8)
XYZxyz(32.2466, 18.6733, 52.3476)
Luminance0.1867 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45C1 #4BC145
analogous
#7D45C1 #BB45C1 #C14589
triadic
#BB45C1 #C1BB45 #45C1BB
tetradic
#BB45C1 #C17D45 #4BC145 #4589C1
square
#BB45C1 #C17D45 #4BC145 #4589C1
split-complementary
#BB45C1 #89C145 #45C17D
monochromatic
#652369 #923297 #BB45C1 #CC73D0 #DDA1E0

Accessibility & contrast

On white

4.44
#BB45C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BB45C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45C1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45C1#FFFFFF#000000##000000
##BB45C11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#306EC5
Deuteranopia (green-blind)
#5E7DBE
Tritanopia (blue-blind)
#BF577D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb45c1;
/* rgb */ color: rgb(187, 69, 193);
/* oklch */ color: oklch(59.9% 0.209 325.8);
Tailwind
colors: {
  custom: {
    50: '#d381d4',
    500: '#bb45c1',
    950: '#000000',
  },
}
SCSS
$custom: #bb45c1;
$custom-light: #d381d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45c1",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 297.097,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59853,
    "c": 0.20888,
    "h": 325.8
  },
  "luminance": 0.18671
}

Semantic roles & 50–950 ramp

primary
#BB45C1
secondary
#98CC96
accent
#DA4E55
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB45C1

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

Preview Lab → · Contrast checker → · Palette generator →

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