#BB38BD#BB38BD

#BB38BD is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.221 H 327.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BB38BD
RGBrgb(187, 56, 189)
HSLhsl(299, 54%, 48%)
HSVhsv(299, 70%, 74%)
CMYKcmyk(1.1%, 70.4%, 0%, 25.9%)
CIE-LABlab(48.35, 67.16, -43.14)
CIE-LCHlch(48.35, 79.82, 327.28°)
OKLaboklab(58.38% 0.1864 -0.1196)
OKLCHoklch(58.38% 0.221 327.3)
XYZxyz(31.0925, 17.0694, 49.7913)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38BD #3ABD38
analogous
#7938BD #BB38BD #BD387C
triadic
#BB38BD #BDBB38 #38BDBB
tetradic
#BB38BD #BD7938 #3ABD38 #387CBD
square
#BB38BD #BD7938 #3ABD38 #387CBD
split-complementary
#BB38BD #7CBD38 #38BD79
monochromatic
#5E1C5F #8C2A8E #BB38BD #CF62D0 #DD91DE

Accessibility & contrast

On white

4.76
#BB38BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#BB38BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38BD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38BD#FFFFFF#000000##FFFFFF
##BB38BD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E68C1
Deuteranopia (green-blind)
#5979BA
Tritanopia (blue-blind)
#C04C77
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb38bd;
/* rgb */ color: rgb(187, 56, 189);
/* oklch */ color: oklch(58.4% 0.221 327.3);
Tailwind
colors: {
  custom: {
    50: '#d37bd1',
    500: '#bb38bd',
    950: '#000000',
  },
}
SCSS
$custom: #bb38bd;
$custom-light: #d37bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38bd",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 299.098,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.58376,
    "c": 0.22146,
    "h": 327.3
  },
  "luminance": 0.17067
}

Semantic roles & 50–950 ramp

primary
#BB38BD
secondary
#88C987
accent
#DE4A4C
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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