#BB45D6#BB45D6

#BB45D6 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.1% C 0.227 H 319.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BB45D6
RGBrgb(187, 69, 214)
HSLhsl(289, 64%, 55%)
HSVhsv(289, 68%, 84%)
CMYKcmyk(12.6%, 67.8%, 0%, 16.1%)
CIE-LABlab(51.47, 66.73, -52.57)
CIE-LCHlch(51.47, 84.95, 321.77°)
OKLaboklab(61.07% 0.1727 -0.1471)
OKLCHoklch(61.07% 0.227 319.6)
XYZxyz(34.7577, 19.6777, 65.5726)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45D6 #60D645
analogous
#7345D6 #BB45D6 #D645A8
triadic
#BB45D6 #D6BB45 #45D6BB
tetradic
#BB45D6 #D67345 #60D645 #45A8D6
square
#BB45D6 #D67345 #60D645 #45A8D6
split-complementary
#BB45D6 #A8D645 #45D673
monochromatic
#701D84 #9B28B6 #BB45D6 #CD77E1 #E0A9EC

Accessibility & contrast

On white

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

On black

4.94
#BB45D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45D6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45D6#FFFFFF#000000##000000
##BB45D61.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0273DA
Deuteranopia (green-blind)
#507FD3
Tritanopia (blue-blind)
#BB5F88
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb45d6;
/* rgb */ color: rgb(187, 69, 214);
/* oklch */ color: oklch(61.1% 0.227 319.6);
Tailwind
colors: {
  custom: {
    50: '#d382e3',
    500: '#bb45d6',
    950: '#000000',
  },
}
SCSS
$custom: #bb45d6;
$custom-light: #d382e3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45d6",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 288.828,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61071,
    "c": 0.2269,
    "h": 319.6
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

primary
#BB45D6
secondary
#A8DA9D
accent
#E74160
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #BB45D6

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

Preview Lab → · Contrast checker → · Palette generator →

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