#BF40DA#BF40DA

#BF40DA is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.4% C 0.238 H 320.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BF40DA
RGBrgb(191, 64, 218)
HSLhsl(289, 68%, 55%)
HSVhsv(289, 71%, 85%)
CMYKcmyk(12.4%, 70.6%, 0%, 14.5%)
CIE-LABlab(51.62, 70.21, -54.58)
CIE-LCHlch(51.62, 88.93, 322.14°)
OKLaboklab(61.37% 0.1822 -0.1529)
OKLCHoklch(61.37% 0.238 320)
XYZxyz(35.9726, 19.8069, 68.2444)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40DA #5BDA40
analogous
#7240DA #BF40DA #DA40A8
triadic
#BF40DA #DABF40 #40DABF
tetradic
#BF40DA #DA7240 #5BDA40 #40A8DA
square
#BF40DA #DA7240 #5BDA40 #40A8DA
split-complementary
#BF40DA #A8DA40 #40DA72
monochromatic
#731A86 #9F24B9 #BF40DA #D073E4 #E1A7EE

Accessibility & contrast

On white

4.23
#BF40DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BF40DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40DA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40DA#FFFFFF#000000##000000
##BF40DA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#4E7FD6
Tritanopia (blue-blind)
#C05D89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #bf40da;
/* rgb */ color: rgb(191, 64, 218);
/* oklch */ color: oklch(61.4% 0.238 320.0);
Tailwind
colors: {
  custom: {
    50: '#d680e6',
    500: '#bf40da',
    950: '#000000',
  },
}
SCSS
$custom: #bf40da;
$custom-light: #d680e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40da",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 218
  },
  "hsl": {
    "h": 289.481,
    "s": 67.544,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6137,
    "c": 0.23782,
    "h": 320
  },
  "luminance": 0.19805
}

Semantic roles & 50–950 ramp

primary
#BF40DA
secondary
#A6DB9B
accent
#EA3D5C
background
#FDF8FE
surface
#FBEFFC
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BF40DA

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

Preview Lab → · Contrast checker → · Palette generator →

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