#BB2EAB#BB2EAB

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

Color values

HEX#BB2EAB
RGBrgb(187, 46, 171)
HSLhsl(307, 61%, 46%)
HSVhsv(307, 75%, 73%)
CMYKcmyk(0%, 75.4%, 8.6%, 26.7%)
CIE-LABlab(46.26, 67.55, -35.88)
CIE-LCHlch(46.26, 76.49, 332.03°)
OKLaboklab(56.57% 0.1952 -0.0985)
OKLCHoklch(56.57% 0.219 333.2)
XYZxyz(28.8214, 15.4615, 39.9866)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EAB #2EBB3E
analogous
#852EBB #BB2EAB #BB2E64
triadic
#BB2EAB #ABBB2E #2EABBB
tetradic
#BB2EAB #BB852E #2EBB3E #2E64BB
square
#BB2EAB #BB852E #2EBB3E #2E64BB
split-complementary
#BB2EAB #64BB2E #2EBB85
monochromatic
#591651 #8A227E #BB2EAB #D452C6 #E083D6

Accessibility & contrast

On white

5.13
#BB2EAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#BB2EAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EAB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EAB#FFFFFF#000000##FFFFFF
##BB2EAB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2861AE
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#C43D6A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2eab;
/* rgb */ color: rgb(187, 46, 171);
/* oklch */ color: oklch(56.6% 0.219 333.2);
Tailwind
colors: {
  custom: {
    50: '#d376c4',
    500: '#bb2eab',
    950: '#000000',
  },
}
SCSS
$custom: #bb2eab;
$custom-light: #d376c4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2eab",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 306.809,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56571,
    "c": 0.21867,
    "h": 333.2
  },
  "luminance": 0.15459
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB2EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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