#BB4EB4#BB4EB4

#BB4EB4 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.2% C 0.185 H 330.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BB4EB4
RGBrgb(187, 78, 180)
HSLhsl(304, 44%, 52%)
HSVhsv(304, 58%, 73%)
CMYKcmyk(0%, 58.3%, 3.7%, 26.7%)
CIE-LABlab(51.05, 56.85, -33.64)
CIE-LCHlch(51.05, 66.06, 329.39°)
OKLaboklab(60.19% 0.1608 -0.0923)
OKLCHoklch(60.19% 0.185 330.2)
XYZxyz(31.4559, 19.3110, 45.2418)
Luminance0.1931 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EB4 #4EBB55
analogous
#8C4EBB #BB4EB4 #BB4E7E
triadic
#BB4EB4 #B4BB4E #4EB4BB
tetradic
#BB4EB4 #BB8C4E #4EBB55 #4E7EBB
square
#BB4EB4 #BB8C4E #4EBB55 #4E7EBB
split-complementary
#BB4EB4 #7EBB4E #4EBB8C
monochromatic
#672863 #93398D #BB4EB4 #CC7AC7 #DDA6D9

Accessibility & contrast

On white

4.32
#BB4EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BB4EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EB4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EB4#FFFFFF#000000##000000
##BB4EB41.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4770B7
Deuteranopia (green-blind)
#6A7FB1
Tritanopia (blue-blind)
#C2597A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4eb4;
/* rgb */ color: rgb(187, 78, 180);
/* oklch */ color: oklch(60.2% 0.185 330.2);
Tailwind
colors: {
  custom: {
    50: '#d286cb',
    500: '#bb4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #bb4eb4;
$custom-light: #d286cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4eb4",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 303.853,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.18544,
    "h": 330.2
  },
  "luminance": 0.19309
}

Semantic roles & 50–950 ramp

primary
#BB4EB4
secondary
#9BCA9E
accent
#D45C54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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