#BB4FB2#BB4FB2

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

Color values

HEX#BB4FB2
RGBrgb(187, 79, 178)
HSLhsl(305, 44%, 52%)
HSVhsv(305, 58%, 73%)
CMYKcmyk(0%, 57.8%, 4.8%, 26.7%)
CIE-LABlab(51.12, 56.06, -32.36)
CIE-LCHlch(51.12, 64.73, 330.00°)
OKLaboklab(60.21% 0.1593 -0.0886)
OKLCHoklch(60.21% 0.182 330.9)
XYZxyz(31.3252, 19.3732, 44.2003)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FB2 #4FBB58
analogous
#8E4FBB #BB4FB2 #BB4F7C
triadic
#BB4FB2 #B2BB4F #4FB2BB
tetradic
#BB4FB2 #BB8E4F #4FBB58 #4F7CBB
square
#BB4FB2 #BB8E4F #4FBB58 #4F7CBB
split-complementary
#BB4FB2 #7CBB4F #4FBB8E
monochromatic
#682862 #94398C #BB4FB2 #CC7BC5 #DDA7D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB4FB2#FFFFFF#000000##000000
##BB4FB21.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)
#4970B5
Deuteranopia (green-blind)
#6B7FAF
Tritanopia (blue-blind)
#C25979
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4fb2;
/* rgb */ color: rgb(187, 79, 178);
/* oklch */ color: oklch(60.2% 0.182 330.9);
Tailwind
colors: {
  custom: {
    50: '#d286c9',
    500: '#bb4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fb2;
$custom-light: #d286c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fb2",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 305,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60207,
    "c": 0.18229,
    "h": 330.9
  },
  "luminance": 0.19371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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