#BB45CE#BB45CE

#BB45CE is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.220 H 321.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BB45CE
RGBrgb(187, 69, 206)
HSLhsl(292, 58%, 54%)
HSVhsv(292, 67%, 81%)
CMYKcmyk(9.2%, 66.5%, 0%, 19.2%)
CIE-LABlab(51.01, 65.26, -48.72)
CIE-LCHlch(51.01, 81.44, 323.25°)
OKLaboklab(60.59% 0.1729 -0.1359)
OKLCHoklch(60.59% 0.22 321.8)
XYZxyz(33.7610, 19.2791, 60.3235)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45CE #58CE45
analogous
#7745CE #BB45CE #CE459D
triadic
#BB45CE #CEBB45 #45CEBB
tetradic
#BB45CE #CE7745 #58CE45 #459DCE
square
#BB45CE #CE7745 #58CE45 #459DCE
split-complementary
#BB45CE #9DCE45 #45CE77
monochromatic
#6C2079 #982DA9 #BB45CE #CD75DB #DEA6E8

Accessibility & contrast

On white

4.33
#BB45CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BB45CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45CE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45CE#FFFFFF#000000##000000
##BB45CE1.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D2
Deuteranopia (green-blind)
#567ECB
Tritanopia (blue-blind)
#BD5C84
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb45ce;
/* rgb */ color: rgb(187, 69, 206);
/* oklch */ color: oklch(60.6% 0.220 321.8);
Tailwind
colors: {
  custom: {
    50: '#d382dd',
    500: '#bb45ce',
    950: '#000000',
  },
}
SCSS
$custom: #bb45ce;
$custom-light: #d382dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45ce",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 291.679,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60594,
    "c": 0.21995,
    "h": 321.8
  },
  "luminance": 0.19277
}

Semantic roles & 50–950 ramp

primary
#BB45CE
secondary
#A2D59A
accent
#E2465C
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB45CE

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

Preview Lab → · Contrast checker → · Palette generator →

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