#BF40B9#BF40B9

#BF40B9 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.211 H 329.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BF40B9
RGBrgb(191, 64, 185)
HSLhsl(303, 50%, 50%)
HSVhsv(303, 66%, 75%)
CMYKcmyk(0%, 66.5%, 3.1%, 25.1%)
CIE-LABlab(49.80, 64.51, -38.48)
CIE-LCHlch(49.80, 75.11, 329.18°)
OKLaboklab(59.47% 0.1823 -0.106)
OKLCHoklch(59.47% 0.211 329.8)
XYZxyz(32.0760, 18.2483, 47.7224)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40B9 #40BF46
analogous
#8640BF #BF40B9 #BF4079
triadic
#BF40B9 #B9BF40 #40B9BF
tetradic
#BF40B9 #BF8640 #40BF46 #4079BF
square
#BF40B9 #BF8640 #40BF46 #4079BF
split-complementary
#BF40B9 #79BF40 #40BF86
monochromatic
#632160 #91318D #BF40B9 #CE6ECA #DE9CDB

Accessibility & contrast

On white

4.52
#BF40B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#BF40B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40B9
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40B9#FFFFFF#000000##000000
##BF40B91.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#346BBD
Deuteranopia (green-blind)
#637DB6
Tritanopia (blue-blind)
#C64F77
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bf40b9;
/* rgb */ color: rgb(191, 64, 185);
/* oklch */ color: oklch(59.5% 0.211 329.8);
Tailwind
colors: {
  custom: {
    50: '#d67fce',
    500: '#bf40b9',
    950: '#000000',
  },
}
SCSS
$custom: #bf40b9;
$custom-light: #d67fce;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40b9",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 302.835,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59474,
    "c": 0.21089,
    "h": 329.8
  },
  "luminance": 0.18246
}

Semantic roles & 50–950 ramp

primary
#BF40B9
secondary
#91CA94
accent
#D9554E
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BF40B9

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

Preview Lab → · Contrast checker → · Palette generator →

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