#BB38AD#BB38AD

#BB38AD is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.5% C 0.209 H 332.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#BB38AD
RGBrgb(187, 56, 173)
HSLhsl(306, 54%, 48%)
HSVhsv(306, 70%, 73%)
CMYKcmyk(0%, 70.1%, 7.5%, 26.7%)
CIE-LABlab(47.51, 64.59, -35.09)
CIE-LCHlch(47.51, 73.50, 331.48°)
OKLaboklab(57.5% 0.1858 -0.0963)
OKLCHoklch(57.5% 0.209 332.6)
XYZxyz(29.4506, 16.4127, 41.1439)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38AD #38BB46
analogous
#8738BB #BB38AD #BB386C
triadic
#BB38AD #ADBB38 #38ADBB
tetradic
#BB38AD #BB8738 #38BB46 #386CBB
square
#BB38AD #BB8738 #38BB46 #386CBB
split-complementary
#BB38AD #6CBB38 #38BB87
monochromatic
#5D1C56 #8C2A81 #BB38AD #D061C4 #DE90D5

Accessibility & contrast

On white

4.90
#BB38AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BB38AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38AD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38AD#FFFFFF#000000##FFFFFF
##BB38AD1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B0
Deuteranopia (green-blind)
#6277AA
Tritanopia (blue-blind)
#C3456E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bb38ad;
/* rgb */ color: rgb(187, 56, 173);
/* oklch */ color: oklch(57.5% 0.209 332.6);
Tailwind
colors: {
  custom: {
    50: '#d37ac6',
    500: '#bb38ad',
    950: '#000000',
  },
}
SCSS
$custom: #bb38ad;
$custom-light: #d37ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38ad",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 306.412,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57504,
    "c": 0.20926,
    "h": 332.6
  },
  "luminance": 0.1641
}

Semantic roles & 50–950 ramp

primary
#BB38AD
secondary
#86C88D
accent
#DD5A4B
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB38AD

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

Preview Lab → · Contrast checker → · Palette generator →

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