#BB2EA7#BB2EA7

#BB2EA7 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.216 H 334.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BB2EA7
RGBrgb(187, 46, 167)
HSLhsl(309, 61%, 46%)
HSVhsv(309, 75%, 73%)
CMYKcmyk(0%, 75.4%, 10.7%, 26.7%)
CIE-LABlab(46.06, 66.96, -33.83)
CIE-LCHlch(46.06, 75.02, 333.20°)
OKLaboklab(56.36% 0.195 -0.0926)
OKLCHoklch(56.36% 0.216 334.6)
XYZxyz(28.4459, 15.3113, 38.0090)
Luminance0.1531 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EA7 #2EBB42
analogous
#892EBB #BB2EA7 #BB2E60
triadic
#BB2EA7 #A7BB2E #2EA7BB
tetradic
#BB2EA7 #BB892E #2EBB42 #2E60BB
square
#BB2EA7 #BB892E #2EBB42 #2E60BB
split-complementary
#BB2EA7 #60BB2E #2EBB89
monochromatic
#59164F #8A227B #BB2EA7 #D452C2 #E083D3

Accessibility & contrast

On white

5.17
#BB2EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#BB2EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EA7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EA7#FFFFFF#000000##FFFFFF
##BB2EA71.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C60AA
Deuteranopia (green-blind)
#6074A4
Tritanopia (blue-blind)
#C43B68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2ea7;
/* rgb */ color: rgb(187, 46, 167);
/* oklch */ color: oklch(56.4% 0.216 334.6);
Tailwind
colors: {
  custom: {
    50: '#d376c1',
    500: '#bb2ea7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ea7;
$custom-light: #d376c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ea7",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 308.511,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.21587,
    "h": 334.6
  },
  "luminance": 0.15309
}

Semantic roles & 50–950 ramp

primary
#BB2EA7
secondary
#7BCA86
accent
#E45B44
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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