#BF40BD#BF40BD

#BF40BD is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.214 H 328.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BF40BD
RGBrgb(191, 64, 189)
HSLhsl(301, 50%, 50%)
HSVhsv(301, 66%, 75%)
CMYKcmyk(0%, 66.5%, 1%, 25.1%)
CIE-LABlab(50.00, 65.17, -40.48)
CIE-LCHlch(50.00, 76.72, 328.15°)
OKLaboklab(59.69% 0.1825 -0.1118)
OKLCHoklch(59.69% 0.214 328.5)
XYZxyz(32.5042, 18.4196, 49.9776)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40BD #40BF42
analogous
#8240BF #BF40BD #BF407D
triadic
#BF40BD #BDBF40 #40BDBF
tetradic
#BF40BD #BF8240 #40BF42 #407DBF
square
#BF40BD #BF8240 #40BF42 #407DBF
split-complementary
#BF40BD #7DBF40 #40BF82
monochromatic
#632162 #913190 #BF40BD #CE6ECD #DE9CDD

Accessibility & contrast

On white

4.48
#BF40BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#BF40BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40BD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40BD#FFFFFF#000000##000000
##BF40BD1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#306CC1
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#C55179
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bf40bd;
/* rgb */ color: rgb(191, 64, 189);
/* oklch */ color: oklch(59.7% 0.214 328.5);
Tailwind
colors: {
  custom: {
    50: '#d67fd1',
    500: '#bf40bd',
    950: '#000000',
  },
}
SCSS
$custom: #bf40bd;
$custom-light: #d67fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40bd",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 300.945,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59688,
    "c": 0.21405,
    "h": 328.5
  },
  "luminance": 0.18417
}

Semantic roles & 50–950 ramp

primary
#BF40BD
secondary
#91CA92
accent
#D9514E
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BF40BD

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

Preview Lab → · Contrast checker → · Palette generator →

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