#BB45D8#BB45D8

#BB45D8 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.229 H 319.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BB45D8
RGBrgb(187, 69, 216)
HSLhsl(288, 65%, 56%)
HSVhsv(288, 68%, 85%)
CMYKcmyk(13.4%, 68.1%, 0%, 15.3%)
CIE-LABlab(51.59, 67.10, -53.52)
CIE-LCHlch(51.59, 85.83, 321.43°)
OKLaboklab(61.19% 0.1726 -0.1499)
OKLCHoklch(61.19% 0.229 319)
XYZxyz(35.0147, 19.7805, 66.9261)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45D8 #62D845
analogous
#7145D8 #BB45D8 #D845AB
triadic
#BB45D8 #D8BB45 #45D8BB
tetradic
#BB45D8 #D87145 #62D845 #45ABD8
square
#BB45D8 #D87145 #62D845 #45ABD8
split-complementary
#BB45D8 #ABD845 #45D871
monochromatic
#711C86 #9C27B9 #BB45D8 #CD78E3 #E0AAED

Accessibility & contrast

On white

4.24
#BB45D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BB45D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45D8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45D8#FFFFFF#000000##000000
##BB45D81.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DC
Deuteranopia (green-blind)
#4F7FD5
Tritanopia (blue-blind)
#BB608A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb45d8;
/* rgb */ color: rgb(187, 69, 216);
/* oklch */ color: oklch(61.2% 0.229 319.0);
Tailwind
colors: {
  custom: {
    50: '#d382e5',
    500: '#bb45d8',
    950: '#000000',
  },
}
SCSS
$custom: #bb45d8;
$custom-light: #d382e5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45d8",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 288.163,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61193,
    "c": 0.22866,
    "h": 319
  },
  "luminance": 0.19779
}

Semantic roles & 50–950 ramp

primary
#BB45D8
secondary
#AADB9E
accent
#E84061
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB45D8

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

Preview Lab → · Contrast checker → · Palette generator →

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