#BB2EAF#BB2EAF

#BB2EAF is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.8% C 0.222 H 331.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BB2EAF
RGBrgb(187, 46, 175)
HSLhsl(305, 61%, 46%)
HSVhsv(305, 75%, 73%)
CMYKcmyk(0%, 75.4%, 6.4%, 26.7%)
CIE-LABlab(46.47, 68.16, -37.92)
CIE-LCHlch(46.47, 77.99, 330.91°)
OKLaboklab(56.79% 0.1954 -0.1044)
OKLCHoklch(56.79% 0.222 331.9)
XYZxyz(29.2084, 15.6164, 42.0250)
Luminance0.1561 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EAF #2EBB3A
analogous
#802EBB #BB2EAF #BB2E69
triadic
#BB2EAF #AFBB2E #2EAFBB
tetradic
#BB2EAF #BB802E #2EBB3A #2E69BB
square
#BB2EAF #BB802E #2EBB3A #2E69BB
split-complementary
#BB2EAF #69BB2E #2EBB80
monochromatic
#591653 #8A2281 #BB2EAF #D452C9 #E083D9

Accessibility & contrast

On white

5.09
#BB2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#BB2EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EAF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EAF#FFFFFF#000000##FFFFFF
##BB2EAF1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2362B2
Deuteranopia (green-blind)
#5D75AC
Tritanopia (blue-blind)
#C33F6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #bb2eaf;
/* rgb */ color: rgb(187, 46, 175);
/* oklch */ color: oklch(56.8% 0.222 331.9);
Tailwind
colors: {
  custom: {
    50: '#d376c7',
    500: '#bb2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #bb2eaf;
$custom-light: #d376c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2eaf",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 305.106,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56786,
    "c": 0.22152,
    "h": 331.9
  },
  "luminance": 0.15614
}

Semantic roles & 50–950 ramp

primary
#BB2EAF
secondary
#7BCA82
accent
#E45244
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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