#BB45D5#BB45D5

#BB45D5 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.226 H 319.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BB45D5
RGBrgb(187, 69, 213)
HSLhsl(289, 63%, 55%)
HSVhsv(289, 68%, 84%)
CMYKcmyk(12.2%, 67.6%, 0%, 16.5%)
CIE-LABlab(51.41, 66.54, -52.09)
CIE-LCHlch(51.41, 84.51, 321.95°)
OKLaboklab(61.01% 0.1728 -0.1457)
OKLCHoklch(61.01% 0.226 319.8)
XYZxyz(34.6304, 19.6268, 64.9021)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45D5 #5FD545
analogous
#7345D5 #BB45D5 #D545A7
triadic
#BB45D5 #D5BB45 #45D5BB
tetradic
#BB45D5 #D57345 #5FD545 #45A7D5
square
#BB45D5 #D57345 #5FD545 #45A7D5
split-complementary
#BB45D5 #A7D545 #45D573
monochromatic
#701D82 #9B29B4 #BB45D5 #CD77E0 #E0A9EC

Accessibility & contrast

On white

4.26
#BB45D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#BB45D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45D5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45D5#FFFFFF#000000##000000
##BB45D51.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0772D9
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#BC5F88
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb45d5;
/* rgb */ color: rgb(187, 69, 213);
/* oklch */ color: oklch(61.0% 0.226 319.8);
Tailwind
colors: {
  custom: {
    50: '#d382e2',
    500: '#bb45d5',
    950: '#000000',
  },
}
SCSS
$custom: #bb45d5;
$custom-light: #d382e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45d5",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 289.167,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61011,
    "c": 0.22603,
    "h": 319.8
  },
  "luminance": 0.19625
}

Semantic roles & 50–950 ramp

primary
#BB45D5
secondary
#A8D99D
accent
#E6425F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB45D5

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

Preview Lab → · Contrast checker → · Palette generator →

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