#BB38BF#BB38BF

#BB38BF is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.5% C 0.223 H 326.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BB38BF
RGBrgb(187, 56, 191)
HSLhsl(298, 55%, 48%)
HSVhsv(298, 71%, 75%)
CMYKcmyk(2.1%, 70.7%, 0%, 25.1%)
CIE-LABlab(48.46, 67.49, -44.13)
CIE-LCHlch(48.46, 80.64, 326.82°)
OKLaboklab(58.49% 0.1864 -0.1224)
OKLCHoklch(58.49% 0.223 326.7)
XYZxyz(31.3111, 17.1569, 50.9425)
Luminance0.1716 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38BF #3CBF38
analogous
#7738BF #BB38BF #BF387F
triadic
#BB38BF #BFBB38 #38BFBB
tetradic
#BB38BF #BF7738 #3CBF38 #387FBF
square
#BB38BF #BF7738 #3CBF38 #387FBF
split-complementary
#BB38BF #7FBF38 #38BF77
monochromatic
#5E1C60 #8D2A90 #BB38BF #CE63D1 #DD92DF

Accessibility & contrast

On white

4.74
#BB38BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#BB38BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38BF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38BF#FFFFFF#000000##FFFFFF
##BB38BF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#5879BC
Tritanopia (blue-blind)
#C04D78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb38bf;
/* rgb */ color: rgb(187, 56, 191);
/* oklch */ color: oklch(58.5% 0.223 326.7);
Tailwind
colors: {
  custom: {
    50: '#d37bd3',
    500: '#bb38bf',
    950: '#000000',
  },
}
SCSS
$custom: #bb38bf;
$custom-light: #d37bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38bf",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 298.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5849,
    "c": 0.22302,
    "h": 326.7
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#BB38BF
secondary
#8BCA89
accent
#DE4A4E
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BB38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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