#BF40C6#BF40C6

#BF40C6 is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.2% C 0.221 H 325.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BF40C6
RGBrgb(191, 64, 198)
HSLhsl(297, 54%, 51%)
HSVhsv(297, 68%, 78%)
CMYKcmyk(3.5%, 67.7%, 0%, 22.4%)
CIE-LABlab(50.48, 66.68, -44.94)
CIE-LCHlch(50.48, 80.41, 326.02°)
OKLaboklab(60.19% 0.1828 -0.1247)
OKLCHoklch(60.19% 0.221 325.7)
XYZxyz(33.5116, 18.8225, 55.2831)
Luminance0.1882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40C6 #47C640
analogous
#7C40C6 #BF40C6 #C6408A
triadic
#BF40C6 #C6BF40 #40C6BF
tetradic
#BF40C6 #C67C40 #47C640 #408AC6
square
#BF40C6 #C67C40 #47C640 #408AC6
split-complementary
#BF40C6 #8AC640 #40C67C
monochromatic
#68206C #952E9B #BF40C6 #CF6FD4 #DF9EE2

Accessibility & contrast

On white

4.41
#BF40C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BF40C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40C6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40C6#FFFFFF#000000##000000
##BF40C61.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#246ECA
Deuteranopia (green-blind)
#5C7EC3
Tritanopia (blue-blind)
#C4557E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bf40c6;
/* rgb */ color: rgb(191, 64, 198);
/* oklch */ color: oklch(60.2% 0.221 325.7);
Tailwind
colors: {
  custom: {
    50: '#d67fd8',
    500: '#bf40c6',
    950: '#000000',
  },
}
SCSS
$custom: #bf40c6;
$custom-light: #d67fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40c6",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 198
  },
  "hsl": {
    "h": 296.866,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60187,
    "c": 0.22127,
    "h": 325.7
  },
  "luminance": 0.1882
}

Semantic roles & 50–950 ramp

primary
#BF40C6
secondary
#96CE93
accent
#DD4A52
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BF40C6

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

Preview Lab → · Contrast checker → · Palette generator →

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