#BB2EAA#BB2EAA

#BB2EAA is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.218 H 333.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BB2EAA
RGBrgb(187, 46, 170)
HSLhsl(307, 61%, 46%)
HSVhsv(307, 75%, 73%)
CMYKcmyk(0%, 75.4%, 9.1%, 26.7%)
CIE-LABlab(46.21, 67.40, -35.37)
CIE-LCHlch(46.21, 76.12, 332.31°)
OKLaboklab(56.52% 0.1952 -0.097)
OKLCHoklch(56.52% 0.218 333.6)
XYZxyz(28.7264, 15.4236, 39.4865)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EAA #2EBB3F
analogous
#852EBB #BB2EAA #BB2E63
triadic
#BB2EAA #AABB2E #2EAABB
tetradic
#BB2EAA #BB852E #2EBB3F #2E63BB
square
#BB2EAA #BB852E #2EBB3F #2E63BB
split-complementary
#BB2EAA #63BB2E #2EBB85
monochromatic
#591651 #8A227D #BB2EAA #D452C5 #E083D5

Accessibility & contrast

On white

5.14
#BB2EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#BB2EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EAA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EAA#FFFFFF#000000##FFFFFF
##BB2EAA1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AD
Deuteranopia (green-blind)
#5F75A7
Tritanopia (blue-blind)
#C43C6A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2eaa;
/* rgb */ color: rgb(187, 46, 170);
/* oklch */ color: oklch(56.5% 0.218 333.6);
Tailwind
colors: {
  custom: {
    50: '#d376c3',
    500: '#bb2eaa',
    950: '#000000',
  },
}
SCSS
$custom: #bb2eaa;
$custom-light: #d376c3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2eaa",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 307.234,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56518,
    "c": 0.21797,
    "h": 333.6
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#BB2EAA
secondary
#7BCA85
accent
#E45744
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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