#BF40AB#BF40AB

#BF40AB is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.200 H 334.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BF40AB
RGBrgb(191, 64, 171)
HSLhsl(309, 50%, 50%)
HSVhsv(309, 66%, 75%)
CMYKcmyk(0%, 66.5%, 10.5%, 25.1%)
CIE-LABlab(49.11, 62.29, -31.36)
CIE-LCHlch(49.11, 69.74, 333.28°)
OKLaboklab(58.76% 0.1811 -0.0855)
OKLCHoklch(58.76% 0.2 334.7)
XYZxyz(30.6702, 17.6860, 40.3186)
Luminance0.1768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40AB #40BF54
analogous
#9440BF #BF40AB #BF406B
triadic
#BF40AB #ABBF40 #40ABBF
tetradic
#BF40AB #BF9440 #40BF54 #406BBF
square
#BF40AB #BF9440 #40BF54 #406BBF
split-complementary
#BF40AB #6BBF40 #40BF94
monochromatic
#632159 #913182 #BF40AB #CE6EBF #DE9CD3

Accessibility & contrast

On white

4.63
#BF40AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#BF40AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BF40AB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40AB#FFFFFF#000000##FFFFFF
##BF40AB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F69AE
Deuteranopia (green-blind)
#697BA8
Tritanopia (blue-blind)
#C84970
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bf40ab;
/* rgb */ color: rgb(191, 64, 171);
/* oklch */ color: oklch(58.8% 0.200 334.7);
Tailwind
colors: {
  custom: {
    50: '#d67ec4',
    500: '#bf40ab',
    950: '#000000',
  },
}
SCSS
$custom: #bf40ab;
$custom-light: #d67ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40ab",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 171
  },
  "hsl": {
    "h": 309.449,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.58757,
    "c": 0.20026,
    "h": 334.7
  },
  "luminance": 0.17683
}

Semantic roles & 50–950 ramp

primary
#BF40AB
secondary
#91CA9A
accent
#D9644E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #BF40AB

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

Preview Lab → · Contrast checker → · Palette generator →

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