#BB4EB8#BB4EB8

#BB4EB8 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.189 H 328.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BB4EB8
RGBrgb(187, 78, 184)
HSLhsl(302, 44%, 52%)
HSVhsv(302, 58%, 73%)
CMYKcmyk(0%, 58.3%, 1.6%, 26.7%)
CIE-LABlab(51.24, 57.53, -35.67)
CIE-LCHlch(51.24, 67.69, 328.20°)
OKLaboklab(60.39% 0.1613 -0.0981)
OKLCHoklch(60.39% 0.189 328.7)
XYZxyz(31.8693, 19.4763, 47.4188)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EB8 #4EBB51
analogous
#874EBB #BB4EB8 #BB4E82
triadic
#BB4EB8 #B8BB4E #4EB8BB
tetradic
#BB4EB8 #BB874E #4EBB51 #4E82BB
square
#BB4EB8 #BB874E #4EBB51 #4E82BB
split-complementary
#BB4EB8 #82BB4E #4EBB87
monochromatic
#672865 #933991 #BB4EB8 #CC7ACA #DDA6DB

Accessibility & contrast

On white

4.29
#BB4EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BB4EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EB8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EB8#FFFFFF#000000##000000
##BB4EB81.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4471BB
Deuteranopia (green-blind)
#687FB5
Tritanopia (blue-blind)
#C15A7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4eb8;
/* rgb */ color: rgb(187, 78, 184);
/* oklch */ color: oklch(60.4% 0.189 328.7);
Tailwind
colors: {
  custom: {
    50: '#d286cd',
    500: '#bb4eb8',
    950: '#000000',
  },
}
SCSS
$custom: #bb4eb8;
$custom-light: #d286cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4eb8",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 301.651,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60387,
    "c": 0.1888,
    "h": 328.7
  },
  "luminance": 0.19474
}

Semantic roles & 50–950 ramp

primary
#BB4EB8
secondary
#9BCA9C
accent
#D45754
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB4EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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