#BB4EC1#BB4EC1

#BB4EC1 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.9% C 0.197 H 325.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BB4EC1
RGBrgb(187, 78, 193)
HSLhsl(297, 48%, 53%)
HSVhsv(297, 60%, 76%)
CMYKcmyk(3.1%, 59.6%, 0%, 24.3%)
CIE-LABlab(51.69, 59.12, -40.18)
CIE-LCHlch(51.69, 71.48, 325.80°)
OKLaboklab(60.86% 0.1621 -0.1111)
OKLCHoklch(60.86% 0.197 325.6)
XYZxyz(32.8428, 19.8658, 52.5463)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EC1 #54C14E
analogous
#824EC1 #BB4EC1 #C14E8D
triadic
#BB4EC1 #C1BB4E #4EC1BB
tetradic
#BB4EC1 #C1824E #54C14E #4E8DC1
square
#BB4EC1 #C1824E #54C14E #4E8DC1
split-complementary
#BB4EC1 #8DC14E #4EC182
monochromatic
#6A276E #96369B #BB4EC1 #CC7BD1 #DEA9E1

Accessibility & contrast

On white

4.22
#BB4EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BB4EC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EC1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EC1#FFFFFF#000000##000000
##BB4EC11.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D72C5
Deuteranopia (green-blind)
#6480BE
Tritanopia (blue-blind)
#BF5D80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb4ec1;
/* rgb */ color: rgb(187, 78, 193);
/* oklch */ color: oklch(60.9% 0.197 325.6);
Tailwind
colors: {
  custom: {
    50: '#d286d4',
    500: '#bb4ec1',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ec1;
$custom-light: #d286d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ec1",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 193
  },
  "hsl": {
    "h": 296.87,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60856,
    "c": 0.19656,
    "h": 325.6
  },
  "luminance": 0.19864
}

Semantic roles & 50–950 ramp

primary
#BB4EC1
secondary
#9FCE9D
accent
#D85057
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB4EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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