#BF40B2#BF40B2

#BF40B2 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.1% C 0.205 H 332.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BF40B2
RGBrgb(191, 64, 178)
HSLhsl(306, 50%, 50%)
HSVhsv(306, 66%, 75%)
CMYKcmyk(0%, 66.5%, 6.8%, 25.1%)
CIE-LABlab(49.45, 63.38, -34.94)
CIE-LCHlch(49.45, 72.37, 331.13°)
OKLaboklab(59.11% 0.1818 -0.0958)
OKLCHoklch(59.11% 0.206 332.2)
XYZxyz(31.3552, 17.9600, 43.9260)
Luminance0.1796 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40B2 #40BF4D
analogous
#8D40BF #BF40B2 #BF4072
triadic
#BF40B2 #B2BF40 #40B2BF
tetradic
#BF40B2 #BF8D40 #40BF4D #4072BF
square
#BF40B2 #BF8D40 #40BF4D #4072BF
split-complementary
#BF40B2 #72BF40 #40BF8D
monochromatic
#63215D #913187 #BF40B2 #CE6EC4 #DE9CD7

Accessibility & contrast

On white

4.57
#BF40B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BF40B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40B2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40B2#FFFFFF#000000##000000
##BF40B21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A6AB5
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#C74C74
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bf40b2;
/* rgb */ color: rgb(191, 64, 178);
/* oklch */ color: oklch(59.1% 0.205 332.2);
Tailwind
colors: {
  custom: {
    50: '#d67fc9',
    500: '#bf40b2',
    950: '#000000',
  },
}
SCSS
$custom: #bf40b2;
$custom-light: #d67fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40b2",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 306.142,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59108,
    "c": 0.2055,
    "h": 332.2
  },
  "luminance": 0.17958
}

Semantic roles & 50–950 ramp

primary
#BF40B2
secondary
#91CA97
accent
#D95D4E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BF40B2

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

Preview Lab → · Contrast checker → · Palette generator →

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