#BF40D3#BF40D3

#BF40D3 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.232 H 321.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BF40D3
RGBrgb(191, 64, 211)
HSLhsl(292, 63%, 54%)
HSVhsv(292, 70%, 83%)
CMYKcmyk(9.5%, 69.7%, 0%, 17.3%)
CIE-LABlab(51.21, 68.95, -51.24)
CIE-LCHlch(51.21, 85.91, 323.38°)
OKLaboklab(60.94% 0.1825 -0.1431)
OKLCHoklch(60.94% 0.232 321.9)
XYZxyz(35.0759, 19.4482, 63.5217)
Luminance0.1945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40D3 #54D340
analogous
#7640D3 #BF40D3 #D3409E
triadic
#BF40D3 #D3BF40 #40D3BF
tetradic
#BF40D3 #D37640 #54D340 #409ED3
square
#BF40D3 #D37640 #54D340 #409ED3
split-complementary
#BF40D3 #9ED340 #40D376
monochromatic
#6F1D7C #9C28AE #BF40D3 #D072DE #E0A3EA

Accessibility & contrast

On white

4.30
#BF40D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BF40D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40D3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40D3#FFFFFF#000000##000000
##BF40D31.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D7
Deuteranopia (green-blind)
#537FCF
Tritanopia (blue-blind)
#C15A85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bf40d3;
/* rgb */ color: rgb(191, 64, 211);
/* oklch */ color: oklch(60.9% 0.232 321.9);
Tailwind
colors: {
  custom: {
    50: '#d680e1',
    500: '#bf40d3',
    950: '#000000',
  },
}
SCSS
$custom: #bf40d3;
$custom-light: #d680e1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40d3",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 291.837,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60944,
    "c": 0.23196,
    "h": 321.9
  },
  "luminance": 0.19446
}

Semantic roles & 50–950 ramp

primary
#BF40D3
secondary
#A1D798
accent
#E64258
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BF40D3

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

Preview Lab → · Contrast checker → · Palette generator →

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