#BB4EB5#BB4EB5

#BB4EB5 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.186 H 329.8°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BB4EB5
RGBrgb(187, 78, 181)
HSLhsl(303, 44%, 52%)
HSVhsv(303, 58%, 73%)
CMYKcmyk(0%, 58.3%, 3.2%, 26.7%)
CIE-LABlab(51.10, 57.02, -34.15)
CIE-LCHlch(51.10, 66.46, 329.08°)
OKLaboklab(60.24% 0.161 -0.0937)
OKLCHoklch(60.24% 0.186 329.8)
XYZxyz(31.5581, 19.3519, 45.7802)
Luminance0.1935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EB5 #4EBB54
analogous
#8B4EBB #BB4EB5 #BB4E7F
triadic
#BB4EB5 #B5BB4E #4EB5BB
tetradic
#BB4EB5 #BB8B4E #4EBB54 #4E7FBB
square
#BB4EB5 #BB8B4E #4EBB54 #4E7FBB
split-complementary
#BB4EB5 #7FBB4E #4EBB8B
monochromatic
#672864 #93398E #BB4EB5 #CC7AC7 #DDA6DA

Accessibility & contrast

On white

4.31
#BB4EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BB4EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EB5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EB5#FFFFFF#000000##000000
##BB4EB51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4670B8
Deuteranopia (green-blind)
#6A7FB2
Tritanopia (blue-blind)
#C1597A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4eb5;
/* rgb */ color: rgb(187, 78, 181);
/* oklch */ color: oklch(60.2% 0.186 329.8);
Tailwind
colors: {
  custom: {
    50: '#d286cb',
    500: '#bb4eb5',
    950: '#000000',
  },
}
SCSS
$custom: #bb4eb5;
$custom-light: #d286cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4eb5",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 303.303,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60235,
    "c": 0.18628,
    "h": 329.8
  },
  "luminance": 0.1935
}

Semantic roles & 50–950 ramp

primary
#BB4EB5
secondary
#9BCA9D
accent
#D45B54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB4EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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