#BB4EB7#BB4EB7

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

Color values

HEX#BB4EB7
RGBrgb(187, 78, 183)
HSLhsl(302, 44%, 52%)
HSVhsv(302, 58%, 73%)
CMYKcmyk(0%, 58.3%, 2.1%, 26.7%)
CIE-LABlab(51.19, 57.36, -35.16)
CIE-LCHlch(51.19, 67.28, 328.49°)
OKLaboklab(60.34% 0.1612 -0.0967)
OKLCHoklch(60.34% 0.188 329)
XYZxyz(31.7648, 19.4345, 46.8687)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EB7 #4EBB52
analogous
#894EBB #BB4EB7 #BB4E81
triadic
#BB4EB7 #B7BB4E #4EB7BB
tetradic
#BB4EB7 #BB894E #4EBB52 #4E81BB
square
#BB4EB7 #BB894E #4EBB52 #4E81BB
split-complementary
#BB4EB7 #81BB4E #4EBB89
monochromatic
#672865 #933990 #BB4EB7 #CC7AC9 #DDA6DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB4EB7#FFFFFF#000000##000000
##BB4EB71.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BA
Deuteranopia (green-blind)
#697FB4
Tritanopia (blue-blind)
#C15A7B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4eb7;
/* rgb */ color: rgb(187, 78, 183);
/* oklch */ color: oklch(60.3% 0.188 329.0);
Tailwind
colors: {
  custom: {
    50: '#d286cd',
    500: '#bb4eb7',
    950: '#000000',
  },
}
SCSS
$custom: #bb4eb7;
$custom-light: #d286cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4eb7",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 302.202,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60336,
    "c": 0.18796,
    "h": 329
  },
  "luminance": 0.19432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB4EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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