#BB4EBB#BB4EBB

#BB4EBB is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.5% C 0.191 H 327.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BB4EBB
RGBrgb(187, 78, 187)
HSLhsl(300, 44%, 52%)
HSVhsv(300, 58%, 73%)
CMYKcmyk(0%, 58.3%, 0%, 26.7%)
CIE-LABlab(51.39, 58.06, -37.18)
CIE-LCHlch(51.39, 68.94, 327.36°)
OKLaboklab(60.54% 0.1616 -0.1025)
OKLCHoklch(60.54% 0.191 327.6)
XYZxyz(32.1871, 19.6034, 49.0926)
Luminance0.1960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EBB #4EBB4E
analogous
#854EBB #BB4EBB #BB4E85
triadic
#BB4EBB #BBBB4E #4EBBBB
tetradic
#BB4EBB #BB854E #4EBB4E #4E85BB
square
#BB4EBB #BB854E #4EBB4E #4E85BB
split-complementary
#BB4EBB #85BB4E #4EBB85
monochromatic
#672867 #933993 #BB4EBB #CC7ACC #DDA6DD

Accessibility & contrast

On white

4.27
#BB4EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BB4EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EBB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EBB#FFFFFF#000000##000000
##BB4EBB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#677FB8
Tritanopia (blue-blind)
#C05B7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4ebb;
/* rgb */ color: rgb(187, 78, 187);
/* oklch */ color: oklch(60.5% 0.191 327.6);
Tailwind
colors: {
  custom: {
    50: '#d286d0',
    500: '#bb4ebb',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ebb;
$custom-light: #d286d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ebb",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60541,
    "c": 0.19136,
    "h": 327.6
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#BB4EBB
secondary
#9BCA9B
accent
#D45454
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BB4EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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