#BB38B8#BB38B8

#BB38B8 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.218 H 328.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BB38B8
RGBrgb(187, 56, 184)
HSLhsl(301, 54%, 48%)
HSVhsv(301, 70%, 73%)
CMYKcmyk(0%, 70.1%, 1.6%, 26.7%)
CIE-LABlab(48.08, 66.34, -40.65)
CIE-LCHlch(48.08, 77.80, 328.50°)
OKLaboklab(58.1% 0.1863 -0.1123)
OKLCHoklch(58.1% 0.218 328.9)
XYZxyz(30.5591, 16.8561, 46.9821)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38B8 #38BB3B
analogous
#7C38BB #BB38B8 #BB3876
triadic
#BB38B8 #B8BB38 #38B8BB
tetradic
#BB38B8 #BB7C38 #38BB3B #3876BB
square
#BB38B8 #BB7C38 #38BB3B #3876BB
split-complementary
#BB38B8 #76BB38 #38BB7C
monochromatic
#5D1C5B #8C2A8A #BB38B8 #D061CD #DE90DC

Accessibility & contrast

On white

4.80
#BB38B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BB38B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38B8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38B8#FFFFFF#000000##FFFFFF
##BB38B81.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2667BC
Deuteranopia (green-blind)
#5C78B5
Tritanopia (blue-blind)
#C14A74
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #bb38b8;
/* rgb */ color: rgb(187, 56, 184);
/* oklch */ color: oklch(58.1% 0.218 328.9);
Tailwind
colors: {
  custom: {
    50: '#d37bce',
    500: '#bb38b8',
    950: '#000000',
  },
}
SCSS
$custom: #bb38b8;
$custom-light: #d37bce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38b8",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 301.374,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58096,
    "c": 0.21758,
    "h": 328.9
  },
  "luminance": 0.16854
}

Semantic roles & 50–950 ramp

primary
#BB38B8
secondary
#86C888
accent
#DD4E4B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB38B8

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

Preview Lab → · Contrast checker → · Palette generator →

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