#BB4BB4#BB4BB4

#BB4BB4 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.8% C 0.190 H 330.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BB4BB4
RGBrgb(187, 75, 180)
HSLhsl(304, 45%, 51%)
HSVhsv(304, 60%, 73%)
CMYKcmyk(0%, 59.9%, 3.7%, 26.7%)
CIE-LABlab(50.56, 58.18, -34.40)
CIE-LCHlch(50.56, 67.59, 329.40°)
OKLaboklab(59.83% 0.1647 -0.0945)
OKLCHoklch(59.83% 0.19 330.2)
XYZxyz(31.2476, 18.8944, 45.1723)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4BB4 #4BBB52
analogous
#8A4BBB #BB4BB4 #BB4B7C
triadic
#BB4BB4 #B4BB4B #4BB4BB
tetradic
#BB4BB4 #BB8A4B #4BBB52 #4B7CBB
square
#BB4BB4 #BB8A4B #4BBB52 #4B7CBB
split-complementary
#BB4BB4 #7CBB4B #4BBB8A
monochromatic
#652661 #92378C #BB4BB4 #CC77C7 #DDA4D9

Accessibility & contrast

On white

4.39
#BB4BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#BB4BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4BB4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4BB4#FFFFFF#000000##000000
##BB4BB41.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#436FB7
Deuteranopia (green-blind)
#687EB1
Tritanopia (blue-blind)
#C25679
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bb4bb4;
/* rgb */ color: rgb(187, 75, 180);
/* oklch */ color: oklch(59.8% 0.190 330.2);
Tailwind
colors: {
  custom: {
    50: '#d284cb',
    500: '#bb4bb4',
    950: '#000000',
  },
}
SCSS
$custom: #bb4bb4;
$custom-light: #d284cb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4bb4",
  "rgb": {
    "r": 187,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 303.75,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5983,
    "c": 0.18982,
    "h": 330.2
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#BB4BB4
secondary
#98CA9B
accent
#D55B53
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BB4BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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