#BB45C6#BB45C6

#BB45C6 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.1% C 0.213 H 324.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BB45C6
RGBrgb(187, 69, 198)
HSLhsl(295, 53%, 52%)
HSVhsv(295, 65%, 78%)
CMYKcmyk(5.6%, 65.2%, 0%, 22.4%)
CIE-LABlab(50.57, 63.82, -44.83)
CIE-LCHlch(50.57, 77.99, 324.92°)
OKLaboklab(60.13% 0.1729 -0.1246)
OKLCHoklch(60.13% 0.213 324.2)
XYZxyz(32.8138, 18.9002, 55.3349)
Luminance0.1890 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45C6 #50C645
analogous
#7B45C6 #BB45C6 #C64590
triadic
#BB45C6 #C6BB45 #45C6BB
tetradic
#BB45C6 #C67B45 #50C645 #4590C6
square
#BB45C6 #C67B45 #50C645 #4590C6
split-complementary
#BB45C6 #90C645 #45C67B
monochromatic
#68226F #94309E #BB45C6 #CC74D4 #DDA3E3

Accessibility & contrast

On white

4.39
#BB45C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BB45C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45C6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45C6#FFFFFF#000000##000000
##BB45C61.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#296FCA
Deuteranopia (green-blind)
#5B7DC3
Tritanopia (blue-blind)
#BF5980
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb45c6;
/* rgb */ color: rgb(187, 69, 198);
/* oklch */ color: oklch(60.1% 0.213 324.2);
Tailwind
colors: {
  custom: {
    50: '#d381d8',
    500: '#bb45c6',
    950: '#000000',
  },
}
SCSS
$custom: #bb45c6;
$custom-light: #d381d8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45c6",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 294.884,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60133,
    "c": 0.2131,
    "h": 324.2
  },
  "luminance": 0.18898
}

Semantic roles & 50–950 ramp

primary
#BB45C6
secondary
#9CCF97
accent
#DC4B58
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB45C6

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

Preview Lab → · Contrast checker → · Palette generator →

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