#BB38BE#BB38BE

#BB38BE is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.222 H 327.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#BB38BE
RGBrgb(187, 56, 190)
HSLhsl(299, 54%, 48%)
HSVhsv(299, 71%, 75%)
CMYKcmyk(1.6%, 70.5%, 0%, 25.5%)
CIE-LABlab(48.40, 67.32, -43.64)
CIE-LCHlch(48.40, 80.23, 327.05°)
OKLaboklab(58.43% 0.1864 -0.121)
OKLCHoklch(58.43% 0.222 327)
XYZxyz(31.2014, 17.1130, 50.3650)
Luminance0.1711 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB38BE #3BBE38
analogous
#7838BE #BB38BE #BE387E
triadic
#BB38BE #BEBB38 #38BEBB
tetradic
#BB38BE #BE7838 #3BBE38 #387EBE
square
#BB38BE #BE7838 #3BBE38 #387EBE
split-complementary
#BB38BE #7EBE38 #38BE78
monochromatic
#5E1C5F #8C2A8F #BB38BE #CE62D1 #DD92DF

Accessibility & contrast

On white

4.75
#BB38BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#BB38BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB38BE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB38BE#FFFFFF#000000##FFFFFF
##BB38BE1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C2
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#C04D78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb38be;
/* rgb */ color: rgb(187, 56, 190);
/* oklch */ color: oklch(58.4% 0.222 327.0);
Tailwind
colors: {
  custom: {
    50: '#d37bd2',
    500: '#bb38be',
    950: '#000000',
  },
}
SCSS
$custom: #bb38be;
$custom-light: #d37bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb38be",
  "rgb": {
    "r": 187,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 298.657,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58433,
    "c": 0.22225,
    "h": 327
  },
  "luminance": 0.17111
}

Semantic roles & 50–950 ramp

primary
#BB38BE
secondary
#8ACA88
accent
#DE4A4D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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