#BF40B0#BF40B0

#BF40B0 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.204 H 332.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BF40B0
RGBrgb(191, 64, 176)
HSLhsl(307, 50%, 50%)
HSVhsv(307, 66%, 75%)
CMYKcmyk(0%, 66.5%, 7.9%, 25.1%)
CIE-LABlab(49.35, 63.07, -33.92)
CIE-LCHlch(49.35, 71.61, 331.73°)
OKLaboklab(59.01% 0.1816 -0.0929)
OKLCHoklch(59.01% 0.204 332.9)
XYZxyz(31.1558, 17.8802, 42.8762)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40B0 #40BF4F
analogous
#8F40BF #BF40B0 #BF4070
triadic
#BF40B0 #B0BF40 #40B0BF
tetradic
#BF40B0 #BF8F40 #40BF4F #4070BF
square
#BF40B0 #BF8F40 #40BF4F #4070BF
split-complementary
#BF40B0 #70BF40 #40BF8F
monochromatic
#63215C #913186 #BF40B0 #CE6EC3 #DE9CD6

Accessibility & contrast

On white

4.59
#BF40B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BF40B0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40B0#FFFFFF#000000##FFFFFF
##BF40B01.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB3
Deuteranopia (green-blind)
#677CAD
Tritanopia (blue-blind)
#C74B73
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bf40b0;
/* rgb */ color: rgb(191, 64, 176);
/* oklch */ color: oklch(59.0% 0.204 332.9);
Tailwind
colors: {
  custom: {
    50: '#d67fc8',
    500: '#bf40b0',
    950: '#000000',
  },
}
SCSS
$custom: #bf40b0;
$custom-light: #d67fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40b0",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 307.087,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59006,
    "c": 0.20398,
    "h": 332.9
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#BF40B0
secondary
#91CA98
accent
#D95F4E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BF40B0

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

Preview Lab → · Contrast checker → · Palette generator →

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