#BB4EC2#BB4EC2

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

Color values

HEX#BB4EC2
RGBrgb(187, 78, 194)
HSLhsl(296, 49%, 53%)
HSVhsv(296, 60%, 76%)
CMYKcmyk(3.6%, 59.8%, 0%, 23.9%)
CIE-LABlab(51.74, 59.30, -40.67)
CIE-LCHlch(51.74, 71.91, 325.55°)
OKLaboklab(60.91% 0.1622 -0.1126)
OKLCHoklch(60.91% 0.197 325.2)
XYZxyz(32.9548, 19.9105, 53.1358)
Luminance0.1991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EC2 #55C24E
analogous
#814EC2 #BB4EC2 #C24E8F
triadic
#BB4EC2 #C2BB4E #4EC2BB
tetradic
#BB4EC2 #C2814E #55C24E #4E8FC2
square
#BB4EC2 #C2814E #55C24E #4E8FC2
split-complementary
#BB4EC2 #8FC24E #4EC281
monochromatic
#6B266F #97369D #BB4EC2 #CC7CD2 #DEA9E1

Accessibility & contrast

On white

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

On black

4.98
#BB4EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EC2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EC2#FFFFFF#000000##000000
##BB4EC21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C6
Deuteranopia (green-blind)
#6380BF
Tritanopia (blue-blind)
#BF5E81
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bb4ec2;
/* rgb */ color: rgb(187, 78, 194);
/* oklch */ color: oklch(60.9% 0.197 325.2);
Tailwind
colors: {
  custom: {
    50: '#d286d5',
    500: '#bb4ec2',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ec2;
$custom-light: #d286d5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ec2",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 296.379,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6091,
    "c": 0.19744,
    "h": 325.2
  },
  "luminance": 0.19909
}

Semantic roles & 50–950 ramp

primary
#BB4EC2
secondary
#A0CF9D
accent
#D85058
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB4EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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