#BB38C5#BB38C5

#BB38C5 is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.8% C 0.228 H 324.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BB38C5
RGBrgb(187, 56, 197)
HSLhsl(296, 56%, 50%)
HSVhsv(296, 72%, 77%)
CMYKcmyk(5.1%, 71.6%, 0%, 22.7%)
CIE-LABlab(48.79, 68.50, -47.08)
CIE-LCHlch(48.79, 83.12, 325.50°)
OKLaboklab(58.84% 0.1863 -0.131)
OKLCHoklch(58.84% 0.228 324.9)
XYZxyz(31.9850, 17.4264, 54.4914)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38C5 #42C538
analogous
#7538C5 #BB38C5 #C53888
triadic
#BB38C5 #C5BB38 #38C5BB
tetradic
#BB38C5 #C57538 #42C538 #3888C5
square
#BB38C5 #C57538 #42C538 #3888C5
split-complementary
#BB38C5 #88C538 #38C575
monochromatic
#611D66 #8E2A95 #BB38C5 #CC67D4 #DC96E1

Accessibility & contrast

On white

4.68
#BB38C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BB38C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38C5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38C5#FFFFFF#000000##FFFFFF
##BB38C51.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6AC9
Deuteranopia (green-blind)
#5479C2
Tritanopia (blue-blind)
#BF507B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb38c5;
/* rgb */ color: rgb(187, 56, 197);
/* oklch */ color: oklch(58.8% 0.228 324.9);
Tailwind
colors: {
  custom: {
    50: '#d37bd7',
    500: '#bb38c5',
    950: '#000000',
  },
}
SCSS
$custom: #bb38c5;
$custom-light: #d37bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38c5",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 295.745,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.58839,
    "c": 0.22777,
    "h": 324.9
  },
  "luminance": 0.17424
}

Semantic roles & 50–950 ramp

primary
#BB38C5
secondary
#91CD8C
accent
#DF4953
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BB38C5

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

Preview Lab → · Contrast checker → · Palette generator →

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