#BB45C2#BB45C2

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

Color values

HEX#BB45C2
RGBrgb(187, 69, 194)
HSLhsl(297, 51%, 52%)
HSVhsv(297, 64%, 76%)
CMYKcmyk(3.6%, 64.4%, 0%, 23.9%)
CIE-LABlab(50.36, 63.11, -42.86)
CIE-LCHlch(50.36, 76.29, 325.82°)
OKLaboklab(59.91% 0.1728 -0.1188)
OKLCHoklch(59.91% 0.21 325.5)
XYZxyz(32.3585, 18.7181, 52.9370)
Luminance0.1872 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45C2 #4CC245
analogous
#7D45C2 #BB45C2 #C2458B
triadic
#BB45C2 #C2BB45 #45C2BB
tetradic
#BB45C2 #C27D45 #4CC245 #458BC2
square
#BB45C2 #C27D45 #4CC245 #458BC2
split-complementary
#BB45C2 #8BC245 #45C27D
monochromatic
#66236A #923298 #BB45C2 #CC73D1 #DDA1E0

Accessibility & contrast

On white

4.43
#BB45C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BB45C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45C2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45C2#FFFFFF#000000##000000
##BB45C21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E6EC6
Deuteranopia (green-blind)
#5E7DBF
Tritanopia (blue-blind)
#BF577E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb45c2;
/* rgb */ color: rgb(187, 69, 194);
/* oklch */ color: oklch(59.9% 0.210 325.5);
Tailwind
colors: {
  custom: {
    50: '#d381d5',
    500: '#bb45c2',
    950: '#000000',
  },
}
SCSS
$custom: #bb45c2;
$custom-light: #d381d5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45c2",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 296.64,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.20973,
    "h": 325.5
  },
  "luminance": 0.18716
}

Semantic roles & 50–950 ramp

primary
#BB45C2
secondary
#99CD96
accent
#DA4E56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB45C2

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

Preview Lab → · Contrast checker → · Palette generator →

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