#BB45AF#BB45AF

#BB45AF is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.9% C 0.194 H 332.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BB45AF
RGBrgb(187, 69, 175)
HSLhsl(306, 46%, 50%)
HSVhsv(306, 63%, 73%)
CMYKcmyk(0%, 63.1%, 6.4%, 26.7%)
CIE-LABlab(49.40, 59.90, -33.31)
CIE-LCHlch(49.40, 68.54, 330.93°)
OKLaboklab(58.9% 0.1715 -0.0913)
OKLCHoklch(58.9% 0.194 332)
XYZxyz(30.3595, 17.9185, 42.4087)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB45AF #45BB51
analogous
#8C45BB #BB45AF #BB4574
triadic
#BB45AF #AFBB45 #45AFBB
tetradic
#BB45AF #BB8C45 #45BB51 #4574BB
square
#BB45AF #BB8C45 #45BB51 #4574BB
split-complementary
#BB45AF #74BB45 #45BB8C
monochromatic
#62245C #8F3485 #BB45AF #CB72C2 #DC9FD6

Accessibility & contrast

On white

4.58
#BB45AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BB45AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB45AF
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB45AF#FFFFFF#000000##000000
##BB45AF1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#406BB2
Deuteranopia (green-blind)
#677BAC
Tritanopia (blue-blind)
#C35074
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bb45af;
/* rgb */ color: rgb(187, 69, 175);
/* oklch */ color: oklch(58.9% 0.194 332.0);
Tailwind
colors: {
  custom: {
    50: '#d381c7',
    500: '#bb45af',
    950: '#000000',
  },
}
SCSS
$custom: #bb45af;
$custom-light: #d381c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb45af",
  "rgb": {
    "r": 187,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 306.102,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58902,
    "c": 0.19423,
    "h": 332
  },
  "luminance": 0.17916
}

Semantic roles & 50–950 ramp

primary
#BB45AF
secondary
#94C899
accent
#D65F52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB45AF

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

Preview Lab → · Contrast checker → · Palette generator →

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