#BF40B1#BF40B1

#BF40B1 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.1% C 0.205 H 332.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#BF40B1
RGBrgb(191, 64, 177)
HSLhsl(307, 50%, 50%)
HSVhsv(307, 66%, 75%)
CMYKcmyk(0%, 66.5%, 7.3%, 25.1%)
CIE-LABlab(49.40, 63.22, -34.43)
CIE-LCHlch(49.40, 71.99, 331.43°)
OKLaboklab(59.06% 0.1817 -0.0944)
OKLCHoklch(59.06% 0.205 332.6)
XYZxyz(31.2551, 17.9199, 43.3992)
Luminance0.1792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40B1 #40BF4E
analogous
#8D40BF #BF40B1 #BF4072
triadic
#BF40B1 #B1BF40 #40B1BF
tetradic
#BF40B1 #BF8D40 #40BF4E #4072BF
square
#BF40B1 #BF8D40 #40BF4E #4072BF
split-complementary
#BF40B1 #72BF40 #40BF8D
monochromatic
#63215C #913187 #BF40B1 #CE6EC4 #DE9CD6

Accessibility & contrast

On white

4.58
#BF40B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#BF40B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40B1
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40B1#FFFFFF#000000##000000
##BF40B11.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB4
Deuteranopia (green-blind)
#677CAE
Tritanopia (blue-blind)
#C74C73
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bf40b1;
/* rgb */ color: rgb(191, 64, 177);
/* oklch */ color: oklch(59.1% 0.205 332.6);
Tailwind
colors: {
  custom: {
    50: '#d67fc8',
    500: '#bf40b1',
    950: '#000000',
  },
}
SCSS
$custom: #bf40b1;
$custom-light: #d67fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40b1",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 177
  },
  "hsl": {
    "h": 306.614,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59057,
    "c": 0.20474,
    "h": 332.6
  },
  "luminance": 0.17917
}

Semantic roles & 50–950 ramp

primary
#BF40B1
secondary
#91CA97
accent
#D95E4E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BF40B1

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

Preview Lab → · Contrast checker → · Palette generator →

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