#BF40B5#BF40B5

#BF40B5 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.3% C 0.208 H 331.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BF40B5
RGBrgb(191, 64, 181)
HSLhsl(305, 50%, 50%)
HSVhsv(305, 66%, 75%)
CMYKcmyk(0%, 66.5%, 5.2%, 25.1%)
CIE-LABlab(49.60, 63.86, -36.46)
CIE-LCHlch(49.60, 73.54, 330.27°)
OKLaboklab(59.26% 0.182 -0.1002)
OKLCHoklch(59.26% 0.208 331.2)
XYZxyz(31.6597, 18.0818, 45.5297)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40B5 #40BF4A
analogous
#8940BF #BF40B5 #BF4076
triadic
#BF40B5 #B5BF40 #40B5BF
tetradic
#BF40B5 #BF8940 #40BF4A #4076BF
square
#BF40B5 #BF8940 #40BF4A #4076BF
split-complementary
#BF40B5 #76BF40 #40BF89
monochromatic
#63215E #91318A #BF40B5 #CE6EC7 #DE9CD9

Accessibility & contrast

On white

4.55
#BF40B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BF40B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40B5
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40B5#FFFFFF#000000##000000
##BF40B51.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#376BB8
Deuteranopia (green-blind)
#657CB2
Tritanopia (blue-blind)
#C64D75
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bf40b5;
/* rgb */ color: rgb(191, 64, 181);
/* oklch */ color: oklch(59.3% 0.208 331.2);
Tailwind
colors: {
  custom: {
    50: '#d67fcb',
    500: '#bf40b5',
    950: '#000000',
  },
}
SCSS
$custom: #bf40b5;
$custom-light: #d67fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40b5",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 181
  },
  "hsl": {
    "h": 304.724,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59263,
    "c": 0.20779,
    "h": 331.2
  },
  "luminance": 0.18079
}

Semantic roles & 50–950 ramp

primary
#BF40B5
secondary
#91CA95
accent
#D9594E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BF40B5

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

Preview Lab → · Contrast checker → · Palette generator →

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