#BF40BB#BF40BB

#BF40BB is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.6% C 0.212 H 329.2°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BF40BB
RGBrgb(191, 64, 187)
HSLhsl(302, 50%, 50%)
HSVhsv(302, 66%, 75%)
CMYKcmyk(0%, 66.5%, 2.1%, 25.1%)
CIE-LABlab(49.90, 64.84, -39.48)
CIE-LCHlch(49.90, 75.91, 328.66°)
OKLaboklab(59.58% 0.1824 -0.1089)
OKLCHoklch(59.58% 0.212 329.2)
XYZxyz(32.2886, 18.3333, 48.8421)
Luminance0.1833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40BB #40BF44
analogous
#8440BF #BF40BB #BF407B
triadic
#BF40BB #BBBF40 #40BBBF
tetradic
#BF40BB #BF8440 #40BF44 #407BBF
square
#BF40BB #BF8440 #40BF44 #407BBF
split-complementary
#BF40BB #7BBF40 #40BF84
monochromatic
#632161 #91318E #BF40BB #CE6ECB #DE9CDC

Accessibility & contrast

On white

4.50
#BF40BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#BF40BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40BB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40BB#FFFFFF#000000##000000
##BF40BB1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#326CBF
Deuteranopia (green-blind)
#627DB8
Tritanopia (blue-blind)
#C55078
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bf40bb;
/* rgb */ color: rgb(191, 64, 187);
/* oklch */ color: oklch(59.6% 0.212 329.2);
Tailwind
colors: {
  custom: {
    50: '#d67fd0',
    500: '#bf40bb',
    950: '#000000',
  },
}
SCSS
$custom: #bf40bb;
$custom-light: #d67fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40bb",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 301.89,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.5958,
    "c": 0.21246,
    "h": 329.2
  },
  "luminance": 0.18331
}

Semantic roles & 50–950 ramp

primary
#BF40BB
secondary
#91CA93
accent
#D9534E
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BF40BB

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

Preview Lab → · Contrast checker → · Palette generator →

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