#BF40CF#BF40CF

#BF40CF is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.7% C 0.229 H 323.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BF40CF
RGBrgb(191, 64, 207)
HSLhsl(293, 60%, 53%)
HSVhsv(293, 69%, 81%)
CMYKcmyk(7.7%, 69.1%, 0%, 18.8%)
CIE-LABlab(50.98, 68.24, -49.32)
CIE-LCHlch(50.98, 84.20, 324.15°)
OKLaboklab(60.71% 0.1827 -0.1375)
OKLCHoklch(60.71% 0.229 323)
XYZxyz(34.5807, 19.2501, 60.9136)
Luminance0.1925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40CF #50CF40
analogous
#7740CF #BF40CF #CF4097
triadic
#BF40CF #CFBF40 #40CFBF
tetradic
#BF40CF #CF7740 #50CF40 #4097CF
square
#BF40CF #CF7740 #50CF40 #4097CF
split-complementary
#BF40CF #97CF40 #40CF77
monochromatic
#6D1E77 #9A2AA8 #BF40CF #CF71DB #E0A2E8

Accessibility & contrast

On white

4.33
#BF40CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BF40CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40CF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40CF#FFFFFF#000000##000000
##BF40CF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1170D3
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#C25983
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #bf40cf;
/* rgb */ color: rgb(191, 64, 207);
/* oklch */ color: oklch(60.7% 0.229 323.0);
Tailwind
colors: {
  custom: {
    50: '#d680de',
    500: '#bf40cf',
    950: '#000000',
  },
}
SCSS
$custom: #bf40cf;
$custom-light: #d680de;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40cf",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 293.287,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.22864,
    "h": 323
  },
  "luminance": 0.19248
}

Semantic roles & 50–950 ramp

primary
#BF40CF
secondary
#9DD497
accent
#E34557
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BF40CF

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

Preview Lab → · Contrast checker → · Palette generator →

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