#BB58B2#BB58B2

#BB58B2 is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.4% C 0.168 H 331.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BB58B2
RGBrgb(187, 88, 178)
HSLhsl(305, 42%, 54%)
HSVhsv(305, 53%, 73%)
CMYKcmyk(0%, 52.9%, 4.8%, 26.7%)
CIE-LABlab(52.69, 51.84, -29.92)
CIE-LCHlch(52.69, 59.86, 330.01°)
OKLaboklab(61.36% 0.1472 -0.0817)
OKLCHoklch(61.36% 0.168 331)
XYZxyz(32.0189, 20.7606, 44.4316)
Luminance0.2076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB58B2 #58BB61
analogous
#9358BB #BB58B2 #BB5881
triadic
#BB58B2 #B2BB58 #58B2BB
tetradic
#BB58B2 #BB9358 #58BB61 #5881BB
square
#BB58B2 #BB9358 #58BB61 #5881BB
split-complementary
#BB58B2 #81BB58 #58BB93
monochromatic
#6C2C67 #983E90 #BB58B2 #CD83C6 #DEAFDA

Accessibility & contrast

On white

4.08
#BB58B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#BB58B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB58B2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB58B2#FFFFFF#000000##000000
##BB58B21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5375B5
Deuteranopia (green-blind)
#7183AF
Tritanopia (blue-blind)
#C2607D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb58b2;
/* rgb */ color: rgb(187, 88, 178);
/* oklch */ color: oklch(61.4% 0.168 331.0);
Tailwind
colors: {
  custom: {
    50: '#d28bc9',
    500: '#bb58b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb58b2;
$custom-light: #d28bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb58b2",
  "rgb": {
    "r": 187,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 305.455,
    "s": 42.128,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61358,
    "c": 0.16836,
    "h": 331
  },
  "luminance": 0.20759
}

Semantic roles & 50–950 ramp

primary
#BB58B2
secondary
#A2CDA6
accent
#D26156
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB58B2

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

Preview Lab → · Contrast checker → · Palette generator →

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