#BB38B5#BB38B5

#BB38B5 is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 57.9% C 0.215 H 329.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BB38B5
RGBrgb(187, 56, 181)
HSLhsl(303, 54%, 48%)
HSVhsv(303, 70%, 73%)
CMYKcmyk(0%, 70.1%, 3.2%, 26.7%)
CIE-LABlab(47.92, 65.85, -39.15)
CIE-LCHlch(47.92, 76.61, 329.27°)
OKLaboklab(57.93% 0.1862 -0.108)
OKLCHoklch(57.93% 0.215 329.9)
XYZxyz(30.2480, 16.7316, 45.3435)
Luminance0.1673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38B5 #38BB3E
analogous
#7F38BB #BB38B5 #BB3874
triadic
#BB38B5 #B5BB38 #38B5BB
tetradic
#BB38B5 #BB7F38 #38BB3E #3874BB
square
#BB38B5 #BB7F38 #38BB3E #3874BB
split-complementary
#BB38B5 #74BB38 #38BB7F
monochromatic
#5D1C5A #8C2A87 #BB38B5 #D061CA #DE90DA

Accessibility & contrast

On white

4.83
#BB38B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BB38B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38B5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38B5#FFFFFF#000000##FFFFFF
##BB38B51.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2966B9
Deuteranopia (green-blind)
#5E78B2
Tritanopia (blue-blind)
#C24973
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb38b5;
/* rgb */ color: rgb(187, 56, 181);
/* oklch */ color: oklch(57.9% 0.215 329.9);
Tailwind
colors: {
  custom: {
    50: '#d37bcb',
    500: '#bb38b5',
    950: '#000000',
  },
}
SCSS
$custom: #bb38b5;
$custom-light: #d37bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38b5",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 302.748,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57931,
    "c": 0.21528,
    "h": 329.9
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#BB38B5
secondary
#86C889
accent
#DD514B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB38B5

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

Preview Lab → · Contrast checker → · Palette generator →

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