#BB4EBA#BB4EBA

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

Color values

HEX#BB4EBA
RGBrgb(187, 78, 186)
HSLhsl(301, 44%, 52%)
HSVhsv(301, 58%, 73%)
CMYKcmyk(0%, 58.3%, 0.5%, 26.7%)
CIE-LABlab(51.34, 57.88, -36.68)
CIE-LCHlch(51.34, 68.52, 327.64°)
OKLaboklab(60.49% 0.1615 -0.101)
OKLCHoklch(60.49% 0.191 328)
XYZxyz(32.0804, 19.5608, 48.5307)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EBA #4EBB4F
analogous
#854EBB #BB4EBA #BB4E84
triadic
#BB4EBA #BABB4E #4EBABB
tetradic
#BB4EBA #BB854E #4EBB4F #4E84BB
square
#BB4EBA #BB854E #4EBB4F #4E84BB
split-complementary
#BB4EBA #84BB4E #4EBB85
monochromatic
#672866 #933992 #BB4EBA #CC7ACB #DDA6DC

Accessibility & contrast

On white

4.28
#BB4EBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BB4EBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EBA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EBA#FFFFFF#000000##000000
##BB4EBA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BD
Deuteranopia (green-blind)
#677FB7
Tritanopia (blue-blind)
#C15B7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4eba;
/* rgb */ color: rgb(187, 78, 186);
/* oklch */ color: oklch(60.5% 0.191 328.0);
Tailwind
colors: {
  custom: {
    50: '#d286cf',
    500: '#bb4eba',
    950: '#000000',
  },
}
SCSS
$custom: #bb4eba;
$custom-light: #d286cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4eba",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 300.55,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60489,
    "c": 0.19051,
    "h": 328
  },
  "luminance": 0.19559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB4EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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