#BF40BC#BF40BC

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

Color values

HEX#BF40BC
RGBrgb(191, 64, 188)
HSLhsl(301, 50%, 50%)
HSVhsv(301, 66%, 75%)
CMYKcmyk(0%, 66.5%, 1.6%, 25.1%)
CIE-LABlab(49.95, 65.00, -39.98)
CIE-LCHlch(49.95, 76.31, 328.40°)
OKLaboklab(59.63% 0.1825 -0.1104)
OKLCHoklch(59.63% 0.213 328.8)
XYZxyz(32.3960, 18.3763, 49.4079)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40BC #40BF43
analogous
#8240BF #BF40BC #BF407D
triadic
#BF40BC #BCBF40 #40BCBF
tetradic
#BF40BC #BF8240 #40BF43 #407DBF
square
#BF40BC #BF8240 #40BF43 #407DBF
split-complementary
#BF40BC #7DBF40 #40BF82
monochromatic
#632162 #91318F #BF40BC #CE6ECC #DE9CDC

Accessibility & contrast

On white

4.49
#BF40BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BF40BC#FFFFFF#000000##000000
##BF40BC1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#316CC0
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#C55079
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bf40bc;
/* rgb */ color: rgb(191, 64, 188);
/* oklch */ color: oklch(59.6% 0.213 328.8);
Tailwind
colors: {
  custom: {
    50: '#d67fd0',
    500: '#bf40bc',
    950: '#000000',
  },
}
SCSS
$custom: #bf40bc;
$custom-light: #d67fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40bc",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 301.417,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59634,
    "c": 0.21325,
    "h": 328.8
  },
  "luminance": 0.18374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF40BC

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

Preview Lab → · Contrast checker → · Palette generator →

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