#BB4FAF#BB4FAF

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

Color values

HEX#BB4FAF
RGBrgb(187, 79, 175)
HSLhsl(307, 44%, 52%)
HSVhsv(307, 58%, 73%)
CMYKcmyk(0%, 57.8%, 6.4%, 26.7%)
CIE-LABlab(50.98, 55.55, -30.83)
CIE-LCHlch(50.98, 63.53, 330.98°)
OKLaboklab(60.06% 0.1589 -0.0842)
OKLCHoklch(60.06% 0.18 332.1)
XYZxyz(31.0273, 19.2541, 42.6313)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB4FAF #4FBB5B
analogous
#914FBB #BB4FAF #BB4F79
triadic
#BB4FAF #AFBB4F #4FAFBB
tetradic
#BB4FAF #BB914F #4FBB5B #4F79BB
square
#BB4FAF #BB914F #4FBB5B #4F79BB
split-complementary
#BB4FAF #79BB4F #4FBB91
monochromatic
#682861 #94398A #BB4FAF #CC7BC3 #DDA7D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB4FAF#FFFFFF#000000##000000
##BB4FAF1.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)
#4B70B2
Deuteranopia (green-blind)
#6D7FAC
Tritanopia (blue-blind)
#C25878
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bb4faf;
/* rgb */ color: rgb(187, 79, 175);
/* oklch */ color: oklch(60.1% 0.180 332.1);
Tailwind
colors: {
  custom: {
    50: '#d286c7',
    500: '#bb4faf',
    950: '#000000',
  },
}
SCSS
$custom: #bb4faf;
$custom-light: #d286c7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb4faf",
  "rgb": {
    "r": 187,
    "g": 79,
    "b": 175
  },
  "hsl": {
    "h": 306.667,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60061,
    "c": 0.17982,
    "h": 332.1
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#BB4FAF
secondary
#9BCAA1
accent
#D46254
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB4FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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