#BB45C8#BB45C8

#BB45C8 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.215 H 323.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BB45C8
RGBrgb(187, 69, 200)
HSLhsl(294, 54%, 53%)
HSVhsv(294, 66%, 78%)
CMYKcmyk(6.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(50.68, 64.17, -45.81)
CIE-LCHlch(50.68, 78.85, 324.48°)
OKLaboklab(60.25% 0.1729 -0.1274)
OKLCHoklch(60.25% 0.215 323.6)
XYZxyz(33.0460, 18.9931, 56.5578)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45C8 #52C845
analogous
#7A45C8 #BB45C8 #C84593
triadic
#BB45C8 #C8BB45 #45C8BB
tetradic
#BB45C8 #C87A45 #52C845 #4593C8
square
#BB45C8 #C87A45 #52C845 #4593C8
split-complementary
#BB45C8 #93C845 #45C87A
monochromatic
#692171 #952FA0 #BB45C8 #CC74D6 #DEA3E4

Accessibility & contrast

On white

4.38
#BB45C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BB45C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45C8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45C8#FFFFFF#000000##000000
##BB45C81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#5A7DC5
Tritanopia (blue-blind)
#BE5A81
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb45c8;
/* rgb */ color: rgb(187, 69, 200);
/* oklch */ color: oklch(60.2% 0.215 323.6);
Tailwind
colors: {
  custom: {
    50: '#d381d9',
    500: '#bb45c8',
    950: '#000000',
  },
}
SCSS
$custom: #bb45c8;
$custom-light: #d381d9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45c8",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 294.046,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60247,
    "c": 0.2148,
    "h": 323.6
  },
  "luminance": 0.18991
}

Semantic roles & 50–950 ramp

primary
#BB45C8
secondary
#9ED198
accent
#DE4A59
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB45C8

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

Preview Lab → · Contrast checker → · Palette generator →

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