#BB4EB3#BB4EB3

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

Color values

HEX#BB4EB3
RGBrgb(187, 78, 179)
HSLhsl(304, 44%, 52%)
HSVhsv(304, 58%, 73%)
CMYKcmyk(0%, 58.3%, 4.3%, 26.7%)
CIE-LABlab(51.00, 56.68, -33.13)
CIE-LCHlch(51.00, 65.65, 329.69°)
OKLaboklab(60.14% 0.1607 -0.0908)
OKLCHoklch(60.14% 0.185 330.5)
XYZxyz(31.3544, 19.2704, 44.7072)
Luminance0.1927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EB3 #4EBB56
analogous
#8D4EBB #BB4EB3 #BB4E7C
triadic
#BB4EB3 #B3BB4E #4EB3BB
tetradic
#BB4EB3 #BB8D4E #4EBB56 #4E7CBB
square
#BB4EB3 #BB8D4E #4EBB56 #4E7CBB
split-complementary
#BB4EB3 #7CBB4E #4EBB8D
monochromatic
#672862 #93398D #BB4EB3 #CC7AC6 #DDA6D9

Accessibility & contrast

On white

4.33
#BB4EB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BB4EB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EB3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EB3#FFFFFF#000000##000000
##BB4EB31.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4770B6
Deuteranopia (green-blind)
#6A7FB0
Tritanopia (blue-blind)
#C25879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb4eb3;
/* rgb */ color: rgb(187, 78, 179);
/* oklch */ color: oklch(60.1% 0.185 330.5);
Tailwind
colors: {
  custom: {
    50: '#d286ca',
    500: '#bb4eb3',
    950: '#000000',
  },
}
SCSS
$custom: #bb4eb3;
$custom-light: #d286ca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4eb3",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 179
  },
  "hsl": {
    "h": 304.404,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60135,
    "c": 0.18461,
    "h": 330.5
  },
  "luminance": 0.19268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB4EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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