#BF40C3#BF40C3

#BF40C3 is a mid, highly saturated purple. Relative luminance 0.187; OKLCH L 60.0% C 0.219 H 326.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#BF40C3
RGBrgb(191, 64, 195)
HSLhsl(298, 52%, 51%)
HSVhsv(298, 67%, 76%)
CMYKcmyk(2.1%, 67.2%, 0%, 23.5%)
CIE-LABlab(50.32, 66.17, -43.46)
CIE-LCHlch(50.32, 79.17, 326.70°)
OKLaboklab(60.02% 0.1827 -0.1205)
OKLCHoklch(60.02% 0.219 326.6)
XYZxyz(33.1690, 18.6855, 53.4788)
Luminance0.1868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40C3 #44C340
analogous
#7D40C3 #BF40C3 #C34085
triadic
#BF40C3 #C3BF40 #40C3BF
tetradic
#BF40C3 #C37D40 #44C340 #4085C3
square
#BF40C3 #C37D40 #44C340 #4085C3
split-complementary
#BF40C3 #85C340 #40C37D
monochromatic
#662168 #932F97 #BF40C3 #CF6FD2 #DE9DE0

Accessibility & contrast

On white

4.43
#BF40C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#BF40C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40C3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40C3#FFFFFF#000000##000000
##BF40C31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#286DC7
Deuteranopia (green-blind)
#5E7DC0
Tritanopia (blue-blind)
#C4537D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bf40c3;
/* rgb */ color: rgb(191, 64, 195);
/* oklch */ color: oklch(60.0% 0.219 326.6);
Tailwind
colors: {
  custom: {
    50: '#d67fd6',
    500: '#bf40c3',
    950: '#000000',
  },
}
SCSS
$custom: #bf40c3;
$custom-light: #d67fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40c3",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 298.168,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.60018,
    "c": 0.21884,
    "h": 326.6
  },
  "luminance": 0.18683
}

Semantic roles & 50–950 ramp

primary
#BF40C3
secondary
#94CC92
accent
#DC4C51
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BF40C3

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

Preview Lab → · Contrast checker → · Palette generator →

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