#BB58B4#BB58B4

#BB58B4 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.5% C 0.170 H 330.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BB58B4
RGBrgb(187, 88, 180)
HSLhsl(304, 42%, 54%)
HSVhsv(304, 53%, 73%)
CMYKcmyk(0%, 52.9%, 3.7%, 26.7%)
CIE-LABlab(52.78, 52.19, -30.94)
CIE-LCHlch(52.78, 60.67, 329.34°)
OKLaboklab(61.45% 0.1475 -0.0846)
OKLCHoklch(61.45% 0.17 330.2)
XYZxyz(32.2212, 20.8415, 45.4969)
Luminance0.2084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB58B4 #58BB5F
analogous
#9158BB #BB58B4 #BB5883
triadic
#BB58B4 #B4BB58 #58B4BB
tetradic
#BB58B4 #BB9158 #58BB5F #5883BB
square
#BB58B4 #BB9158 #58BB5F #5883BB
split-complementary
#BB58B4 #83BB58 #58BB91
monochromatic
#6C2C68 #983E92 #BB58B4 #CD83C8 #DEAFDB

Accessibility & contrast

On white

4.06
#BB58B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BB58B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB58B4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB58B4#FFFFFF#000000##000000
##BB58B41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5275B7
Deuteranopia (green-blind)
#7083B1
Tritanopia (blue-blind)
#C1617E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb58b4;
/* rgb */ color: rgb(187, 88, 180);
/* oklch */ color: oklch(61.5% 0.170 330.2);
Tailwind
colors: {
  custom: {
    50: '#d28bca',
    500: '#bb58b4',
    950: '#000000',
  },
}
SCSS
$custom: #bb58b4;
$custom-light: #d28bca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb58b4",
  "rgb": {
    "r": 187,
    "g": 88,
    "b": 180
  },
  "hsl": {
    "h": 304.242,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61453,
    "c": 0.17008,
    "h": 330.2
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#BB58B4
secondary
#A2CDA5
accent
#D25F56
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB58B4

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

Preview Lab → · Contrast checker → · Palette generator →

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