#BB38AB#BB38AB

#BB38AB is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.4% C 0.208 H 333.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BB38AB
RGBrgb(187, 56, 171)
HSLhsl(307, 54%, 48%)
HSVhsv(307, 70%, 73%)
CMYKcmyk(0%, 70.1%, 8.6%, 26.7%)
CIE-LABlab(47.41, 64.28, -34.07)
CIE-LCHlch(47.41, 72.75, 332.08°)
OKLaboklab(57.4% 0.1857 -0.0933)
OKLCHoklch(57.4% 0.208 333.3)
XYZxyz(29.2585, 16.3358, 40.1323)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38AB #38BB48
analogous
#8938BB #BB38AB #BB386A
triadic
#BB38AB #ABBB38 #38ABBB
tetradic
#BB38AB #BB8938 #38BB48 #386ABB
square
#BB38AB #BB8938 #38BB48 #386ABB
split-complementary
#BB38AB #6ABB38 #38BB89
monochromatic
#5D1C55 #8C2A80 #BB38AB #D061C2 #DE90D4

Accessibility & contrast

On white

4.92
#BB38AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#BB38AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38AB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38AB#FFFFFF#000000##FFFFFF
##BB38AB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3464AE
Deuteranopia (green-blind)
#6377A8
Tritanopia (blue-blind)
#C3446D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #bb38ab;
/* rgb */ color: rgb(187, 56, 171);
/* oklch */ color: oklch(57.4% 0.208 333.3);
Tailwind
colors: {
  custom: {
    50: '#d37ac4',
    500: '#bb38ab',
    950: '#000000',
  },
}
SCSS
$custom: #bb38ab;
$custom-light: #d37ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38ab",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 307.328,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.574,
    "c": 0.20779,
    "h": 333.3
  },
  "luminance": 0.16333
}

Semantic roles & 50–950 ramp

primary
#BB38AB
secondary
#86C88E
accent
#DD5C4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB38AB

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

Preview Lab → · Contrast checker → · Palette generator →

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