#BF40AF#BF40AF

#BF40AF is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.0% C 0.203 H 333.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BF40AF
RGBrgb(191, 64, 175)
HSLhsl(308, 50%, 50%)
HSVhsv(308, 66%, 75%)
CMYKcmyk(0%, 66.5%, 8.4%, 25.1%)
CIE-LABlab(49.30, 62.91, -33.41)
CIE-LCHlch(49.30, 71.23, 332.03°)
OKLaboklab(58.96% 0.1815 -0.0914)
OKLCHoklch(58.96% 0.203 333.3)
XYZxyz(31.0573, 17.8408, 42.3570)
Luminance0.1784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40AF #40BF50
analogous
#8F40BF #BF40AF #BF4070
triadic
#BF40AF #AFBF40 #40AFBF
tetradic
#BF40AF #BF8F40 #40BF50 #4070BF
square
#BF40AF #BF8F40 #40BF50 #4070BF
split-complementary
#BF40AF #70BF40 #40BF8F
monochromatic
#63215B #913185 #BF40AF #CE6EC2 #DE9CD5

Accessibility & contrast

On white

4.60
#BF40AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#BF40AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BF40AF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40AF#FFFFFF#000000##FFFFFF
##BF40AF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C69B2
Deuteranopia (green-blind)
#687CAC
Tritanopia (blue-blind)
#C74B72
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #bf40af;
/* rgb */ color: rgb(191, 64, 175);
/* oklch */ color: oklch(59.0% 0.203 333.3);
Tailwind
colors: {
  custom: {
    50: '#d67fc7',
    500: '#bf40af',
    950: '#000000',
  },
}
SCSS
$custom: #bf40af;
$custom-light: #d67fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40af",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 307.559,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.58956,
    "c": 0.20323,
    "h": 333.3
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

primary
#BF40AF
secondary
#91CA98
accent
#D9604E
background
#FDF8FC
surface
#FBEFF8
border
#D4CAD1
text
#150B13
muted
#837C82

Preview Lab

Preview with #BF40AF

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

Preview Lab → · Contrast checker → · Palette generator →

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