#BB4EA7#BB4EA7

#BB4EA7 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.6% C 0.175 H 335.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BB4EA7
RGBrgb(187, 78, 167)
HSLhsl(311, 44%, 52%)
HSVhsv(311, 58%, 73%)
CMYKcmyk(0%, 58.3%, 10.7%, 26.7%)
CIE-LABlab(50.46, 54.70, -26.95)
CIE-LCHlch(50.46, 60.98, 333.77°)
OKLaboklab(59.56% 0.1589 -0.0732)
OKLCHoklch(59.56% 0.175 335.3)
XYZxyz(30.1932, 18.8059, 38.5914)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EA7 #4EBB62
analogous
#994EBB #BB4EA7 #BB4E71
triadic
#BB4EA7 #A7BB4E #4EA7BB
tetradic
#BB4EA7 #BB994E #4EBB62 #4E71BB
square
#BB4EA7 #BB994E #4EBB62 #4E71BB
split-complementary
#BB4EA7 #71BB4E #4EBB99
monochromatic
#67285B #933983 #BB4EA7 #CC7ABD #DDA6D3

Accessibility & contrast

On white

4.41
#BB4EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BB4EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EA7
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EA7#FFFFFF#000000##000000
##BB4EA71.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAA
Deuteranopia (green-blind)
#6F7EA4
Tritanopia (blue-blind)
#C45473
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4ea7;
/* rgb */ color: rgb(187, 78, 167);
/* oklch */ color: oklch(59.6% 0.175 335.3);
Tailwind
colors: {
  custom: {
    50: '#d285c1',
    500: '#bb4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #bb4ea7;
$custom-light: #d285c1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4ea7",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 311.009,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5956,
    "c": 0.17496,
    "h": 335.3
  },
  "luminance": 0.18804
}

Semantic roles & 50–950 ramp

primary
#BB4EA7
secondary
#9BCAA3
accent
#D46B54
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140B12
muted
#837C81

Preview Lab

Preview with #BB4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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