#BF40BF#BF40BF

#BF40BF is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.8% C 0.216 H 327.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BF40BF
RGBrgb(191, 64, 191)
HSLhsl(300, 50%, 50%)
HSVhsv(300, 66%, 75%)
CMYKcmyk(0%, 66.5%, 0%, 25.1%)
CIE-LABlab(50.11, 65.50, -41.48)
CIE-LCHlch(50.11, 77.53, 327.66°)
OKLaboklab(59.8% 0.1826 -0.1147)
OKLCHoklch(59.8% 0.216 327.9)
XYZxyz(32.7228, 18.5070, 51.1288)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40BF #40BF40
analogous
#7F40BF #BF40BF #BF4080
triadic
#BF40BF #BFBF40 #40BFBF
tetradic
#BF40BF #BF8040 #40BF40 #407FBF
square
#BF40BF #BF8040 #40BF40 #407FBF
split-complementary
#BF40BF #80BF40 #40BF80
monochromatic
#632163 #913191 #BF40BF #CE6ECE #DE9CDE

Accessibility & contrast

On white

4.47
#BF40BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BF40BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40BF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40BF#FFFFFF#000000##000000
##BF40BF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D6DC3
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#C5527A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bf40bf;
/* rgb */ color: rgb(191, 64, 191);
/* oklch */ color: oklch(59.8% 0.216 327.9);
Tailwind
colors: {
  custom: {
    50: '#d67fd3',
    500: '#bf40bf',
    950: '#000000',
  },
}
SCSS
$custom: #bf40bf;
$custom-light: #d67fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40bf",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 300,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59797,
    "c": 0.21563,
    "h": 327.9
  },
  "luminance": 0.18505
}

Semantic roles & 50–950 ramp

primary
#BF40BF
secondary
#91CA91
accent
#D94E4E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BF40BF

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

Preview Lab → · Contrast checker → · Palette generator →

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