#BB45DB#BB45DB

#BB45DB is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 61.4% C 0.231 H 318.2°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BB45DB
RGBrgb(187, 69, 219)
HSLhsl(287, 68%, 56%)
HSVhsv(287, 68%, 86%)
CMYKcmyk(14.6%, 68.5%, 0%, 14.1%)
CIE-LABlab(51.77, 67.67, -54.94)
CIE-LCHlch(51.77, 87.16, 320.93°)
OKLaboklab(61.38% 0.1725 -0.1541)
OKLCHoklch(61.38% 0.231 318.2)
XYZxyz(35.4061, 19.9371, 68.9873)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45DB #65DB45
analogous
#7045DB #BB45DB #DB45B0
triadic
#BB45DB #DBBB45 #45DBBB
tetradic
#BB45DB #DB7045 #65DB45 #45B0DB
square
#BB45DB #DB7045 #65DB45 #45B0DB
split-complementary
#BB45DB #B0DB45 #45DB70
monochromatic
#731B8B #9D25BE #BB45DB #CE78E5 #E0ACEF

Accessibility & contrast

On white

4.21
#BB45DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BB45DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45DB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45DB#FFFFFF#000000##000000
##BB45DB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#BA628B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb45db;
/* rgb */ color: rgb(187, 69, 219);
/* oklch */ color: oklch(61.4% 0.231 318.2);
Tailwind
colors: {
  custom: {
    50: '#d382e7',
    500: '#bb45db',
    950: '#000000',
  },
}
SCSS
$custom: #bb45db;
$custom-light: #d382e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45db",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 287.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61377,
    "c": 0.23129,
    "h": 318.2
  },
  "luminance": 0.19936
}

Semantic roles & 50–950 ramp

primary
#BB45DB
secondary
#ACDD9F
accent
#EA3D62
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB45DB

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

Preview Lab → · Contrast checker → · Palette generator →

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