#BB45D4#BB45D4

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

Color values

HEX#BB45D4
RGBrgb(187, 69, 212)
HSLhsl(290, 62%, 55%)
HSVhsv(290, 67%, 83%)
CMYKcmyk(11.8%, 67.5%, 0%, 16.9%)
CIE-LABlab(51.35, 66.36, -51.61)
CIE-LCHlch(51.35, 84.07, 322.13°)
OKLaboklab(60.95% 0.1728 -0.1443)
OKLCHoklch(60.95% 0.225 320.1)
XYZxyz(34.5038, 19.5762, 64.2357)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45D4 #5ED445
analogous
#7345D4 #BB45D4 #D445A6
triadic
#BB45D4 #D4BB45 #45D4BB
tetradic
#BB45D4 #D47345 #5ED445 #45A6D4
square
#BB45D4 #D47345 #5ED445 #45A6D4
split-complementary
#BB45D4 #A6D445 #45D473
monochromatic
#701E81 #9B29B3 #BB45D4 #CD77DF #DFA8EB

Accessibility & contrast

On white

4.27
#BB45D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BB45D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45D4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45D4#FFFFFF#000000##000000
##BB45D41.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B72D8
Deuteranopia (green-blind)
#527ED1
Tritanopia (blue-blind)
#BC5F87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb45d4;
/* rgb */ color: rgb(187, 69, 212);
/* oklch */ color: oklch(61.0% 0.225 320.1);
Tailwind
colors: {
  custom: {
    50: '#d382e2',
    500: '#bb45d4',
    950: '#000000',
  },
}
SCSS
$custom: #bb45d4;
$custom-light: #d382e2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45d4",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 289.51,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6095,
    "c": 0.22516,
    "h": 320.1
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB45D4

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

Preview Lab → · Contrast checker → · Palette generator →

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