#BF40B3#BF40B3

#BF40B3 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.2% C 0.206 H 331.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BF40B3
RGBrgb(191, 64, 179)
HSLhsl(306, 50%, 50%)
HSVhsv(306, 66%, 75%)
CMYKcmyk(0%, 66.5%, 6.3%, 25.1%)
CIE-LABlab(49.50, 63.54, -35.45)
CIE-LCHlch(49.50, 72.76, 330.84°)
OKLaboklab(59.16% 0.1819 -0.0973)
OKLCHoklch(59.16% 0.206 331.9)
XYZxyz(31.4559, 18.0003, 44.4567)
Luminance0.1800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40B3 #40BF4C
analogous
#8B40BF #BF40B3 #BF4074
triadic
#BF40B3 #B3BF40 #40B3BF
tetradic
#BF40B3 #BF8B40 #40BF4C #4074BF
square
#BF40B3 #BF8B40 #40BF4C #4074BF
split-complementary
#BF40B3 #74BF40 #40BF8B
monochromatic
#63215D #913188 #BF40B3 #CE6EC5 #DE9CD7

Accessibility & contrast

On white

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

On black

4.60
#BF40B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40B3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40B3#FFFFFF#000000##000000
##BF40B31.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#396AB6
Deuteranopia (green-blind)
#667CB0
Tritanopia (blue-blind)
#C74D74
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bf40b3;
/* rgb */ color: rgb(191, 64, 179);
/* oklch */ color: oklch(59.2% 0.206 331.9);
Tailwind
colors: {
  custom: {
    50: '#d67fca',
    500: '#bf40b3',
    950: '#000000',
  },
}
SCSS
$custom: #bf40b3;
$custom-light: #d67fca;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40b3",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 179
  },
  "hsl": {
    "h": 305.669,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.5916,
    "c": 0.20626,
    "h": 331.9
  },
  "luminance": 0.17998
}

Semantic roles & 50–950 ramp

primary
#BF40B3
secondary
#91CA96
accent
#D95C4E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BF40B3

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

Preview Lab → · Contrast checker → · Palette generator →

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