#BB58AB#BB58AB

#BB58AB is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.0% C 0.162 H 333.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BB58AB
RGBrgb(187, 88, 171)
HSLhsl(310, 42%, 54%)
HSVhsv(310, 53%, 73%)
CMYKcmyk(0%, 52.9%, 8.6%, 26.7%)
CIE-LABlab(52.38, 50.65, -26.31)
CIE-LCHlch(52.38, 57.08, 332.55°)
OKLaboklab(61.04% 0.1459 -0.0715)
OKLCHoklch(61.04% 0.162 333.9)
XYZxyz(31.3340, 20.4867, 40.8241)
Luminance0.2049 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB58AB #58BB68
analogous
#9A58BB #BB58AB #BB587A
triadic
#BB58AB #ABBB58 #58ABBB
tetradic
#BB58AB #BB9A58 #58BB68 #587ABB
square
#BB58AB #BB9A58 #58BB68 #587ABB
split-complementary
#BB58AB #7ABB58 #58BB9A
monochromatic
#6C2C62 #983E89 #BB58AB #CD83C1 #DEAFD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB58AB#FFFFFF#000000##000000
##BB58AB1.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)
#5774AE
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#C35E7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb58ab;
/* rgb */ color: rgb(187, 88, 171);
/* oklch */ color: oklch(61.0% 0.162 333.9);
Tailwind
colors: {
  custom: {
    50: '#d28bc4',
    500: '#bb58ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb58ab;
$custom-light: #d28bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb58ab",
  "rgb": {
    "r": 187,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 309.697,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61035,
    "c": 0.16249,
    "h": 333.9
  },
  "luminance": 0.20485
}

Semantic roles & 50–950 ramp

primary
#BB58AB
secondary
#A2CDA9
accent
#D26A56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C12
muted
#837D81

Preview Lab

Preview with #BB58AB

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

Preview Lab → · Contrast checker → · Palette generator →

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