#BB4EB6#BB4EB6

#BB4EB6 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.3% C 0.187 H 329.4°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BB4EB6
RGBrgb(187, 78, 182)
HSLhsl(303, 44%, 52%)
HSVhsv(303, 58%, 73%)
CMYKcmyk(0%, 58.3%, 2.7%, 26.7%)
CIE-LABlab(51.14, 57.19, -34.66)
CIE-LCHlch(51.14, 66.87, 328.79°)
OKLaboklab(60.29% 0.1611 -0.0952)
OKLCHoklch(60.29% 0.187 329.4)
XYZxyz(31.6611, 19.3931, 46.3225)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EB6 #4EBB53
analogous
#8A4EBB #BB4EB6 #BB4E80
triadic
#BB4EB6 #B6BB4E #4EB6BB
tetradic
#BB4EB6 #BB8A4E #4EBB53 #4E80BB
square
#BB4EB6 #BB8A4E #4EBB53 #4E80BB
split-complementary
#BB4EB6 #80BB4E #4EBB8A
monochromatic
#672864 #93398F #BB4EB6 #CC7AC8 #DDA6DA

Accessibility & contrast

On white

4.30
#BB4EB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BB4EB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EB6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EB6#FFFFFF#000000##000000
##BB4EB61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4570B9
Deuteranopia (green-blind)
#697FB3
Tritanopia (blue-blind)
#C1597B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4eb6;
/* rgb */ color: rgb(187, 78, 182);
/* oklch */ color: oklch(60.3% 0.187 329.4);
Tailwind
colors: {
  custom: {
    50: '#d286cc',
    500: '#bb4eb6',
    950: '#000000',
  },
}
SCSS
$custom: #bb4eb6;
$custom-light: #d286cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4eb6",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 182
  },
  "hsl": {
    "h": 302.752,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60285,
    "c": 0.18711,
    "h": 329.4
  },
  "luminance": 0.19391
}

Semantic roles & 50–950 ramp

primary
#BB4EB6
secondary
#9BCA9D
accent
#D45954
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB4EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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