#BB2EA6#BB2EA6

#BB2EA6 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.3% C 0.215 H 335.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#BB2EA6
RGBrgb(187, 46, 166)
HSLhsl(309, 61%, 46%)
HSVhsv(309, 75%, 73%)
CMYKcmyk(0%, 75.4%, 11.2%, 26.7%)
CIE-LABlab(46.01, 66.81, -33.31)
CIE-LCHlch(46.01, 74.66, 333.50°)
OKLaboklab(56.31% 0.1949 -0.0911)
OKLCHoklch(56.31% 0.215 335)
XYZxyz(28.3538, 15.2745, 37.5240)
Luminance0.1527 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2EA6 #2EBB43
analogous
#892EBB #BB2EA6 #BB2E5F
triadic
#BB2EA6 #A6BB2E #2EA6BB
tetradic
#BB2EA6 #BB892E #2EBB43 #2E5FBB
square
#BB2EA6 #BB892E #2EBB43 #2E5FBB
split-complementary
#BB2EA6 #5FBB2E #2EBB89
monochromatic
#59164F #8A227A #BB2EA6 #D452C1 #E083D3

Accessibility & contrast

On white

5.18
#BB2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#BB2EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2EA6
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2EA6#FFFFFF#000000##FFFFFF
##BB2EA61.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D60A9
Deuteranopia (green-blind)
#6174A3
Tritanopia (blue-blind)
#C43A68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2ea6;
/* rgb */ color: rgb(187, 46, 166);
/* oklch */ color: oklch(56.3% 0.215 335.0);
Tailwind
colors: {
  custom: {
    50: '#d376c1',
    500: '#bb2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ea6;
$custom-light: #d376c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ea6",
  "rgb": {
    "r": 187,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 308.936,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56308,
    "c": 0.21517,
    "h": 335
  },
  "luminance": 0.15272
}

Semantic roles & 50–950 ramp

primary
#BB2EA6
secondary
#7BCA87
accent
#E45C44
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #BB2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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