#BB2EAC#BB2EAC

#BB2EAC is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.6% C 0.219 H 332.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BB2EAC
RGBrgb(187, 46, 172)
HSLhsl(306, 61%, 46%)
HSVhsv(306, 75%, 73%)
CMYKcmyk(0%, 75.4%, 8%, 26.7%)
CIE-LABlab(46.31, 67.70, -36.39)
CIE-LCHlch(46.31, 76.86, 331.74°)
OKLaboklab(56.62% 0.1953 -0.1)
OKLCHoklch(56.62% 0.219 332.9)
XYZxyz(28.9171, 15.4998, 40.4905)
Luminance0.1550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EAC #2EBB3D
analogous
#832EBB #BB2EAC #BB2E65
triadic
#BB2EAC #ACBB2E #2EACBB
tetradic
#BB2EAC #BB832E #2EBB3D #2E65BB
square
#BB2EAC #BB832E #2EBB3D #2E65BB
split-complementary
#BB2EAC #65BB2E #2EBB83
monochromatic
#591652 #8A227F #BB2EAC #D452C7 #E083D7

Accessibility & contrast

On white

5.12
#BB2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#BB2EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EAC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EAC#FFFFFF#000000##FFFFFF
##BB2EAC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2761AF
Deuteranopia (green-blind)
#5E75A9
Tritanopia (blue-blind)
#C33D6B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2eac;
/* rgb */ color: rgb(187, 46, 172);
/* oklch */ color: oklch(56.6% 0.219 332.9);
Tailwind
colors: {
  custom: {
    50: '#d376c5',
    500: '#bb2eac',
    950: '#000000',
  },
}
SCSS
$custom: #bb2eac;
$custom-light: #d376c5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2eac",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 306.383,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56624,
    "c": 0.21939,
    "h": 332.9
  },
  "luminance": 0.15497
}

Semantic roles & 50–950 ramp

primary
#BB2EAC
secondary
#7BCA84
accent
#E45544
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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