#BB59B2#BB59B2

#BB59B2 is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.5% C 0.167 H 331.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BB59B2
RGBrgb(187, 89, 178)
HSLhsl(306, 42%, 54%)
HSVhsv(306, 52%, 73%)
CMYKcmyk(0%, 52.4%, 4.8%, 26.7%)
CIE-LABlab(52.87, 51.36, -29.64)
CIE-LCHlch(52.87, 59.30, 330.01°)
OKLaboklab(61.49% 0.1458 -0.0809)
OKLCHoklch(61.49% 0.167 331)
XYZxyz(32.1016, 20.9259, 44.4591)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB59B2 #59BB62
analogous
#9359BB #BB59B2 #BB5981
triadic
#BB59B2 #B2BB59 #59B2BB
tetradic
#BB59B2 #BB9359 #59BB62 #5981BB
square
#BB59B2 #BB9359 #59BB62 #5981BB
split-complementary
#BB59B2 #81BB59 #59BB93
monochromatic
#6D2D67 #983E90 #BB59B2 #CD84C6 #DFB0DA

Accessibility & contrast

On white

4.05
#BB59B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#BB59B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB59B2
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB59B2#FFFFFF#000000##000000
##BB59B21.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5476B5
Deuteranopia (green-blind)
#7283AF
Tritanopia (blue-blind)
#C2617D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb59b2;
/* rgb */ color: rgb(187, 89, 178);
/* oklch */ color: oklch(61.5% 0.167 331.0);
Tailwind
colors: {
  custom: {
    50: '#d28cc9',
    500: '#bb59b2',
    950: '#000000',
  },
}
SCSS
$custom: #bb59b2;
$custom-light: #d28cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb59b2",
  "rgb": {
    "r": 187,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 305.51,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61492,
    "c": 0.16676,
    "h": 331
  },
  "luminance": 0.20924
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB59B2

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

Preview Lab → · Contrast checker → · Palette generator →

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