#BB45CB#BB45CB

#BB45CB is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.217 H 322.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BB45CB
RGBrgb(187, 69, 203)
HSLhsl(293, 56%, 53%)
HSVhsv(293, 66%, 80%)
CMYKcmyk(7.9%, 66%, 0%, 20.4%)
CIE-LABlab(50.84, 64.71, -47.27)
CIE-LCHlch(50.84, 80.14, 323.85°)
OKLaboklab(60.42% 0.173 -0.1317)
OKLCHoklch(60.42% 0.217 322.7)
XYZxyz(33.4001, 19.1347, 58.4224)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45CB #55CB45
analogous
#7845CB #BB45CB #CB4598
triadic
#BB45CB #CBBB45 #45CBBB
tetradic
#BB45CB #CB7845 #55CB45 #4598CB
square
#BB45CB #CB7845 #55CB45 #4598CB
split-complementary
#BB45CB #98CB45 #45CB78
monochromatic
#6B2175 #972EA5 #BB45CB #CC75D8 #DEA5E6

Accessibility & contrast

On white

4.35
#BB45CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BB45CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45CB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45CB#FFFFFF#000000##000000
##BB45CB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#BE5B82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb45cb;
/* rgb */ color: rgb(187, 69, 203);
/* oklch */ color: oklch(60.4% 0.217 322.7);
Tailwind
colors: {
  custom: {
    50: '#d382db',
    500: '#bb45cb',
    950: '#000000',
  },
}
SCSS
$custom: #bb45cb;
$custom-light: #d382db;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45cb",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 292.836,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60419,
    "c": 0.21737,
    "h": 322.7
  },
  "luminance": 0.19133
}

Semantic roles & 50–950 ramp

primary
#BB45CB
secondary
#A0D399
accent
#E0485A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BB45CB

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

Preview Lab → · Contrast checker → · Palette generator →

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