#BB45C3#BB45C3

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

Color values

HEX#BB45C3
RGBrgb(187, 69, 195)
HSLhsl(296, 51%, 52%)
HSVhsv(296, 65%, 76%)
CMYKcmyk(4.1%, 64.6%, 0%, 23.5%)
CIE-LABlab(50.41, 63.29, -43.35)
CIE-LCHlch(50.41, 76.71, 325.59°)
OKLaboklab(59.96% 0.1728 -0.1203)
OKLCHoklch(59.96% 0.211 325.2)
XYZxyz(32.4712, 18.7631, 53.5305)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45C3 #4DC345
analogous
#7C45C3 #BB45C3 #C3458C
triadic
#BB45C3 #C3BB45 #45C3BB
tetradic
#BB45C3 #C37C45 #4DC345 #458CC3
square
#BB45C3 #C37C45 #4DC345 #458CC3
split-complementary
#BB45C3 #8CC345 #45C37C
monochromatic
#66236B #933199 #BB45C3 #CC73D2 #DDA2E1

Accessibility & contrast

On white

4.42
#BB45C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#BB45C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45C3
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45C3#FFFFFF#000000##000000
##BB45C31.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6FC7
Deuteranopia (green-blind)
#5D7DC0
Tritanopia (blue-blind)
#BF587E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb45c3;
/* rgb */ color: rgb(187, 69, 195);
/* oklch */ color: oklch(60.0% 0.211 325.2);
Tailwind
colors: {
  custom: {
    50: '#d381d6',
    500: '#bb45c3',
    950: '#000000',
  },
}
SCSS
$custom: #bb45c3;
$custom-light: #d381d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45c3",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 296.19,
    "s": 51.22,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59964,
    "c": 0.21056,
    "h": 325.2
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#BB45C3
secondary
#9ACE96
accent
#DB4D56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB45C3

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

Preview Lab → · Contrast checker → · Palette generator →

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