#BB4EC4#BB4EC4

#BB4EC4 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 61.0% C 0.199 H 324.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BB4EC4
RGBrgb(187, 78, 196)
HSLhsl(295, 50%, 54%)
HSVhsv(295, 60%, 77%)
CMYKcmyk(4.6%, 60.2%, 0%, 23.1%)
CIE-LABlab(51.84, 59.66, -41.67)
CIE-LCHlch(51.84, 72.77, 325.07°)
OKLaboklab(61.02% 0.1623 -0.1155)
OKLCHoklch(61.02% 0.199 324.6)
XYZxyz(33.1809, 20.0010, 54.3267)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EC4 #57C44E
analogous
#804EC4 #BB4EC4 #C44E92
triadic
#BB4EC4 #C4BB4E #4EC4BB
tetradic
#BB4EC4 #C4804E #57C44E #4E92C4
square
#BB4EC4 #C4804E #57C44E #4E92C4
split-complementary
#BB4EC4 #92C44E #4EC480
monochromatic
#6C2672 #9735A0 #BB4EC4 #CD7CD3 #DEAAE3

Accessibility & contrast

On white

4.20
#BB4EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BB4EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EC4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EC4#FFFFFF#000000##000000
##BB4EC41.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A73C8
Deuteranopia (green-blind)
#6280C1
Tritanopia (blue-blind)
#BF5F82
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bb4ec4;
/* rgb */ color: rgb(187, 78, 196);
/* oklch */ color: oklch(61.0% 0.199 324.6);
Tailwind
colors: {
  custom: {
    50: '#d286d6',
    500: '#bb4ec4',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ec4;
$custom-light: #d286d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ec4",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 196
  },
  "hsl": {
    "h": 295.424,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61017,
    "c": 0.1992,
    "h": 324.6
  },
  "luminance": 0.19999
}

Semantic roles & 50–950 ramp

primary
#BB4EC4
secondary
#A2D09E
accent
#DA4E59
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB4EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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