#BB58BD#BB58BD

#BB58BD is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.9% C 0.178 H 326.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB58BD
RGBrgb(187, 88, 189)
HSLhsl(299, 43%, 54%)
HSVhsv(299, 53%, 74%)
CMYKcmyk(1.1%, 53.4%, 0%, 25.9%)
CIE-LABlab(53.19, 53.79, -35.50)
CIE-LCHlch(53.19, 64.45, 326.57°)
OKLaboklab(61.89% 0.1488 -0.0977)
OKLCHoklch(61.89% 0.178 326.7)
XYZxyz(33.1679, 21.2202, 50.4831)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB58BD #5ABD58
analogous
#8958BD #BB58BD #BD588D
triadic
#BB58BD #BDBB58 #58BDBB
tetradic
#BB58BD #BD8958 #5ABD58 #588DBD
square
#BB58BD #BD8958 #5ABD58 #588DBD
split-complementary
#BB58BD #8DBD58 #58BD89
monochromatic
#6D2C6F #993D9B #BB58BD #CD84CE #DFB0E0

Accessibility & contrast

On white

4.00
#BB58BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#BB58BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB58BD
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB58BD#FFFFFF#000000##000000
##BB58BD1.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D77C0
Deuteranopia (green-blind)
#6C84BA
Tritanopia (blue-blind)
#C06482
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb58bd;
/* rgb */ color: rgb(187, 88, 189);
/* oklch */ color: oklch(61.9% 0.178 326.7);
Tailwind
colors: {
  custom: {
    50: '#d28cd1',
    500: '#bb58bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb58bd;
$custom-light: #d28cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb58bd",
  "rgb": {
    "r": 187,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 298.812,
    "s": 43.348,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.17804,
    "h": 326.7
  },
  "luminance": 0.21218
}

Semantic roles & 50–950 ramp

primary
#BB58BD
secondary
#A4CEA3
accent
#D35557
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB58BD

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

Preview Lab → · Contrast checker → · Palette generator →

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