#BB45E5#BB45E5

#BB45E5 is a light, highly saturated purple. Relative luminance 0.205; OKLCH L 62.0% C 0.240 H 315.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BB45E5
RGBrgb(187, 69, 229)
HSLhsl(284, 75%, 58%)
HSVhsv(284, 70%, 90%)
CMYKcmyk(18.3%, 69.9%, 0%, 10.2%)
CIE-LABlab(52.38, 69.58, -59.62)
CIE-LCHlch(52.38, 91.63, 319.41°)
OKLaboklab(62.01% 0.1718 -0.1678)
OKLCHoklch(62.01% 0.24 315.7)
XYZxyz(36.7623, 20.4796, 76.1300)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45E5 #6FE545
analogous
#6B45E5 #BB45E5 #E545BF
triadic
#BB45E5 #E5BB45 #45E5BB
tetradic
#BB45E5 #E56B45 #6FE545 #45BFE5
square
#BB45E5 #E56B45 #6FE545 #45BFE5
split-complementary
#BB45E5 #BFE545 #45E56B
monochromatic
#77169A #A11DD0 #BB45E5 #CF7BED #E2B0F4

Accessibility & contrast

On white

4.12
#BB45E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BB45E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45E5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45E5#FFFFFF#000000##000000
##BB45E51.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#4280E1
Tritanopia (blue-blind)
#B86691
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb45e5;
/* rgb */ color: rgb(187, 69, 229);
/* oklch */ color: oklch(62.0% 0.240 315.7);
Tailwind
colors: {
  custom: {
    50: '#d482ee',
    500: '#bb45e5',
    950: '#000000',
  },
}
SCSS
$custom: #bb45e5;
$custom-light: #d482ee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45e5",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 284.25,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62007,
    "c": 0.24012,
    "h": 315.7
  },
  "luminance": 0.20478
}

Semantic roles & 50–950 ramp

primary
#BB45E5
secondary
#B4E3A3
accent
#F23667
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB45E5

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

Preview Lab → · Contrast checker → · Palette generator →

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