#BB2EA4#BB2EA4

#BB2EA4 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.2% C 0.214 H 335.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BB2EA4
RGBrgb(187, 46, 164)
HSLhsl(310, 61%, 46%)
HSVhsv(310, 75%, 73%)
CMYKcmyk(0%, 75.4%, 12.3%, 26.7%)
CIE-LABlab(45.91, 66.52, -32.28)
CIE-LCHlch(45.91, 73.94, 334.12°)
OKLaboklab(56.21% 0.1948 -0.0881)
OKLCHoklch(56.21% 0.214 335.7)
XYZxyz(28.1718, 15.2017, 36.5653)
Luminance0.1520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EA4 #2EBB45
analogous
#8B2EBB #BB2EA4 #BB2E5D
triadic
#BB2EA4 #A4BB2E #2EA4BB
tetradic
#BB2EA4 #BB8B2E #2EBB45 #2E5DBB
square
#BB2EA4 #BB8B2E #2EBB45 #2E5DBB
split-complementary
#BB2EA4 #5DBB2E #2EBB8B
monochromatic
#59164E #8A2279 #BB2EA4 #D452BF #E083D1

Accessibility & contrast

On white

5.20
#BB2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BB2EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EA4
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EA4#FFFFFF#000000##FFFFFF
##BB2EA41.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5FA7
Deuteranopia (green-blind)
#6274A1
Tritanopia (blue-blind)
#C53966
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2ea4;
/* rgb */ color: rgb(187, 46, 164);
/* oklch */ color: oklch(56.2% 0.214 335.7);
Tailwind
colors: {
  custom: {
    50: '#d376bf',
    500: '#bb2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ea4;
$custom-light: #d376bf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ea4",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 309.787,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56205,
    "c": 0.21379,
    "h": 335.7
  },
  "luminance": 0.15199
}

Semantic roles & 50–950 ramp

primary
#BB2EA4
secondary
#7BCA88
accent
#E45E44
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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