#BB45D2#BB45D2

#BB45D2 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.8% C 0.223 H 320.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BB45D2
RGBrgb(187, 69, 210)
HSLhsl(290, 61%, 55%)
HSVhsv(290, 67%, 82%)
CMYKcmyk(11%, 67.1%, 0%, 17.6%)
CIE-LABlab(51.24, 65.99, -50.65)
CIE-LCHlch(51.24, 83.19, 322.49°)
OKLaboklab(60.83% 0.1729 -0.1415)
OKLCHoklch(60.83% 0.223 320.7)
XYZxyz(34.2531, 19.4759, 62.9153)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45D2 #5CD245
analogous
#7545D2 #BB45D2 #D245A2
triadic
#BB45D2 #D2BB45 #45D2BB
tetradic
#BB45D2 #D27545 #5CD245 #45A2D2
square
#BB45D2 #D27545 #5CD245 #45A2D2
split-complementary
#BB45D2 #A2D245 #45D275
monochromatic
#6F1F7E #9A2AAF #BB45D2 #CD76DE #DFA8EA

Accessibility & contrast

On white

4.29
#BB45D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BB45D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45D2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45D2#FFFFFF#000000##000000
##BB45D21.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1372D6
Deuteranopia (green-blind)
#537ECF
Tritanopia (blue-blind)
#BC5E86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb45d2;
/* rgb */ color: rgb(187, 69, 210);
/* oklch */ color: oklch(60.8% 0.223 320.7);
Tailwind
colors: {
  custom: {
    50: '#d382e0',
    500: '#bb45d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb45d2;
$custom-light: #d382e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45d2",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 290.213,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60831,
    "c": 0.22341,
    "h": 320.7
  },
  "luminance": 0.19474
}

Semantic roles & 50–950 ramp

primary
#BB45D2
secondary
#A5D79C
accent
#E4445E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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