#BB4BB2#BB4BB2

#BB4BB2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.7% C 0.188 H 330.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BB4BB2
RGBrgb(187, 75, 178)
HSLhsl(305, 45%, 51%)
HSVhsv(305, 60%, 73%)
CMYKcmyk(0%, 59.9%, 4.8%, 26.7%)
CIE-LABlab(50.47, 57.84, -33.38)
CIE-LCHlch(50.47, 66.78, 330.01°)
OKLaboklab(59.73% 0.1644 -0.0915)
OKLCHoklch(59.73% 0.188 330.9)
XYZxyz(31.0453, 18.8135, 44.1071)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4BB2 #4BBB54
analogous
#8C4BBB #BB4BB2 #BB4B7A
triadic
#BB4BB2 #B2BB4B #4BB2BB
tetradic
#BB4BB2 #BB8C4B #4BBB54 #4B7ABB
square
#BB4BB2 #BB8C4B #4BBB54 #4B7ABB
split-complementary
#BB4BB2 #7ABB4B #4BBB8C
monochromatic
#652660 #92378A #BB4BB2 #CC77C5 #DDA4D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB4BB2#FFFFFF#000000##000000
##BB4BB21.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)
#446EB5
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#C25678
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4bb2;
/* rgb */ color: rgb(187, 75, 178);
/* oklch */ color: oklch(59.7% 0.188 330.9);
Tailwind
colors: {
  custom: {
    50: '#d284c9',
    500: '#bb4bb2',
    950: '#000000',
  },
}
SCSS
$custom: #bb4bb2;
$custom-light: #d284c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4bb2",
  "rgb": {
    "r": 187,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 304.821,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.18818,
    "h": 330.9
  },
  "luminance": 0.18811
}

Semantic roles & 50–950 ramp

primary
#BB4BB2
secondary
#98CA9C
accent
#D55D53
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB4BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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