#BF40B4#BF40B4

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

Color values

HEX#BF40B4
RGBrgb(191, 64, 180)
HSLhsl(305, 50%, 50%)
HSVhsv(305, 66%, 75%)
CMYKcmyk(0%, 66.5%, 5.8%, 25.1%)
CIE-LABlab(49.55, 63.70, -35.96)
CIE-LCHlch(49.55, 73.15, 330.56°)
OKLaboklab(59.21% 0.182 -0.0987)
OKLCHoklch(59.21% 0.207 331.5)
XYZxyz(31.5574, 18.0409, 44.9913)
Luminance0.1804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40B4 #40BF4B
analogous
#8B40BF #BF40B4 #BF4074
triadic
#BF40B4 #B4BF40 #40B4BF
tetradic
#BF40B4 #BF8B40 #40BF4B #4074BF
square
#BF40B4 #BF8B40 #40BF4B #4074BF
split-complementary
#BF40B4 #74BF40 #40BF8B
monochromatic
#63215E #913189 #BF40B4 #CE6EC6 #DE9CD8

Accessibility & contrast

On white

4.56
#BF40B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BF40B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40B4
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40B4#FFFFFF#000000##000000
##BF40B41.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#386AB7
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#C74D75
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #bf40b4;
/* rgb */ color: rgb(191, 64, 180);
/* oklch */ color: oklch(59.2% 0.207 331.5);
Tailwind
colors: {
  custom: {
    50: '#d67fcb',
    500: '#bf40b4',
    950: '#000000',
  },
}
SCSS
$custom: #bf40b4;
$custom-light: #d67fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40b4",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 180
  },
  "hsl": {
    "h": 305.197,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.59211,
    "c": 0.20702,
    "h": 331.5
  },
  "luminance": 0.18038
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF40B4

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

Preview Lab → · Contrast checker → · Palette generator →

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