#BB45E2#BB45E2

#BB45E2 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.8% C 0.237 H 316.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB45E2
RGBrgb(187, 69, 226)
HSLhsl(285, 73%, 58%)
HSVhsv(285, 69%, 89%)
CMYKcmyk(17.3%, 69.5%, 0%, 11.4%)
CIE-LABlab(52.19, 69.00, -58.23)
CIE-LCHlch(52.19, 90.29, 319.84°)
OKLaboklab(61.82% 0.172 -0.1637)
OKLCHoklch(61.82% 0.237 316.4)
XYZxyz(36.3470, 20.3135, 73.9430)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45E2 #6CE245
analogous
#6D45E2 #BB45E2 #E245BA
triadic
#BB45E2 #E2BB45 #45E2BB
tetradic
#BB45E2 #E26D45 #6CE245 #45BAE2
square
#BB45E2 #E26D45 #6CE245 #45BAE2
split-complementary
#BB45E2 #BAE245 #45E26D
monochromatic
#761795 #A020CA #BB45E2 #CE7AEA #E2AFF3

Accessibility & contrast

On white

4.15
#BB45E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BB45E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45E2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45E2#FFFFFF#000000##000000
##BB45E21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E7
Deuteranopia (green-blind)
#4680DE
Tritanopia (blue-blind)
#B9648F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb45e2;
/* rgb */ color: rgb(187, 69, 226);
/* oklch */ color: oklch(61.8% 0.237 316.4);
Tailwind
colors: {
  custom: {
    50: '#d482ec',
    500: '#bb45e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb45e2;
$custom-light: #d482ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45e2",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 285.096,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61816,
    "c": 0.23746,
    "h": 316.4
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#BB45E2
secondary
#B2E1A2
accent
#F03866
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BB45E2

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

Preview Lab → · Contrast checker → · Palette generator →

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