#BB4FB8#BB4FB8

#BB4FB8 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.5% C 0.187 H 328.7°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BB4FB8
RGBrgb(187, 79, 184)
HSLhsl(302, 44%, 52%)
HSVhsv(302, 58%, 73%)
CMYKcmyk(0%, 57.8%, 1.6%, 26.7%)
CIE-LABlab(51.40, 57.09, -35.41)
CIE-LCHlch(51.40, 67.18, 328.19°)
OKLaboklab(60.51% 0.16 -0.0974)
OKLCHoklch(60.51% 0.187 328.7)
XYZxyz(31.9408, 19.6195, 47.4427)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FB8 #4FBB52
analogous
#884FBB #BB4FB8 #BB4F82
triadic
#BB4FB8 #B8BB4F #4FB8BB
tetradic
#BB4FB8 #BB884F #4FBB52 #4F82BB
square
#BB4FB8 #BB884F #4FBB52 #4F82BB
split-complementary
#BB4FB8 #82BB4F #4FBB88
monochromatic
#682866 #943991 #BB4FB8 #CC7BCA #DDA7DC

Accessibility & contrast

On white

4.27
#BB4FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BB4FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB4FB8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB4FB8#FFFFFF#000000##000000
##BB4FB81.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4571BB
Deuteranopia (green-blind)
#6980B5
Tritanopia (blue-blind)
#C15B7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bb4fb8;
/* rgb */ color: rgb(187, 79, 184);
/* oklch */ color: oklch(60.5% 0.187 328.7);
Tailwind
colors: {
  custom: {
    50: '#d286cd',
    500: '#bb4fb8',
    950: '#000000',
  },
}
SCSS
$custom: #bb4fb8;
$custom-light: #d286cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4fb8",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 184
  },
  "hsl": {
    "h": 301.667,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60507,
    "c": 0.18734,
    "h": 328.7
  },
  "luminance": 0.19617
}

Semantic roles & 50–950 ramp

primary
#BB4FB8
secondary
#9BCA9D
accent
#D45754
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB4FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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