#BB45C4#BB45C4

#BB45C4 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.0% C 0.211 H 324.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BB45C4
RGBrgb(187, 69, 196)
HSLhsl(296, 52%, 52%)
HSVhsv(296, 65%, 77%)
CMYKcmyk(4.6%, 64.8%, 0%, 23.1%)
CIE-LABlab(50.46, 63.47, -43.84)
CIE-LCHlch(50.46, 77.14, 325.36°)
OKLaboklab(60.02% 0.1729 -0.1217)
OKLCHoklch(60.02% 0.211 324.8)
XYZxyz(32.5847, 18.8085, 54.1280)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45C4 #4EC445
analogous
#7C45C4 #BB45C4 #C4458E
triadic
#BB45C4 #C4BB45 #45C4BB
tetradic
#BB45C4 #C47C45 #4EC445 #458EC4
square
#BB45C4 #C47C45 #4EC445 #458EC4
split-complementary
#BB45C4 #8EC445 #45C47C
monochromatic
#67226C #93319B #BB45C4 #CC73D3 #DDA2E1

Accessibility & contrast

On white

4.41
#BB45C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BB45C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45C4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45C4#FFFFFF#000000##000000
##BB45C41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C6FC8
Deuteranopia (green-blind)
#5C7DC1
Tritanopia (blue-blind)
#BF587F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb45c4;
/* rgb */ color: rgb(187, 69, 196);
/* oklch */ color: oklch(60.0% 0.211 324.8);
Tailwind
colors: {
  custom: {
    50: '#d381d6',
    500: '#bb45c4',
    950: '#000000',
  },
}
SCSS
$custom: #bb45c4;
$custom-light: #d381d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45c4",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 295.748,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.6002,
    "c": 0.21142,
    "h": 324.8
  },
  "luminance": 0.18807
}

Semantic roles & 50–950 ramp

primary
#BB45C4
secondary
#9BCE97
accent
#DB4D57
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB45C4

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

Preview Lab → · Contrast checker → · Palette generator →

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