#BB4EB2#BB4EB2

#BB4EB2 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.1% C 0.184 H 330.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BB4EB2
RGBrgb(187, 78, 178)
HSLhsl(305, 44%, 52%)
HSVhsv(305, 58%, 73%)
CMYKcmyk(0%, 58.3%, 4.8%, 26.7%)
CIE-LABlab(50.96, 56.51, -32.62)
CIE-LCHlch(50.96, 65.25, 330.00°)
OKLaboklab(60.09% 0.1606 -0.0894)
OKLCHoklch(60.09% 0.184 330.9)
XYZxyz(31.2536, 19.2301, 44.1765)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4EB2 #4EBB57
analogous
#8E4EBB #BB4EB2 #BB4E7C
triadic
#BB4EB2 #B2BB4E #4EB2BB
tetradic
#BB4EB2 #BB8E4E #4EBB57 #4E7CBB
square
#BB4EB2 #BB8E4E #4EBB57 #4E7CBB
split-complementary
#BB4EB2 #7CBB4E #4EBB8E
monochromatic
#672862 #93398C #BB4EB2 #CC7AC5 #DDA6D8

Accessibility & contrast

On white

4.33
#BB4EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BB4EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4EB2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4EB2#FFFFFF#000000##000000
##BB4EB21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#C25879
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb4eb2;
/* rgb */ color: rgb(187, 78, 178);
/* oklch */ color: oklch(60.1% 0.184 330.9);
Tailwind
colors: {
  custom: {
    50: '#d286c9',
    500: '#bb4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #bb4eb2;
$custom-light: #d286c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4eb2",
  "rgb": {
    "r": 187,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 304.954,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60086,
    "c": 0.18378,
    "h": 330.9
  },
  "luminance": 0.19228
}

Semantic roles & 50–950 ramp

primary
#BB4EB2
secondary
#9BCA9E
accent
#D45E54
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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