#BB40BF#BB40BF

#BB40BF is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.214 H 326.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BB40BF
RGBrgb(187, 64, 191)
HSLhsl(298, 50%, 50%)
HSVhsv(298, 66%, 75%)
CMYKcmyk(2.1%, 66.5%, 0%, 25.1%)
CIE-LABlab(49.49, 64.57, -42.49)
CIE-LCHlch(49.49, 77.30, 326.65°)
OKLaboklab(59.23% 0.1782 -0.1177)
OKLCHoklch(59.23% 0.214 326.5)
XYZxyz(31.7303, 17.9953, 51.0823)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB40BF #44BF40
analogous
#7B40BF #BB40BF #BF4084
triadic
#BB40BF #BFBB40 #40BFBB
tetradic
#BB40BF #BF7B40 #44BF40 #4084BF
square
#BB40BF #BF7B40 #44BF40 #4084BF
split-complementary
#BB40BF #84BF40 #40BF7B
monochromatic
#612163 #8E3191 #BB40BF #CB6ECE #DC9CDE

Accessibility & contrast

On white

4.57
#BB40BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BB40BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB40BF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB40BF#FFFFFF#000000##000000
##BB40BF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#5C7BBC
Tritanopia (blue-blind)
#C0537A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bb40bf;
/* rgb */ color: rgb(187, 64, 191);
/* oklch */ color: oklch(59.2% 0.214 326.5);
Tailwind
colors: {
  custom: {
    50: '#d37fd3',
    500: '#bb40bf',
    950: '#000000',
  },
}
SCSS
$custom: #bb40bf;
$custom-light: #d37fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb40bf",
  "rgb": {
    "r": 187,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 298.11,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59233,
    "c": 0.21361,
    "h": 326.5
  },
  "luminance": 0.17993
}

Semantic roles & 50–950 ramp

primary
#BB40BF
secondary
#93CA91
accent
#D94E53
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BB40BF

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

Preview Lab → · Contrast checker → · Palette generator →

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