#BF40C1#BF40C1

#BF40C1 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.217 H 327.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BF40C1
RGBrgb(191, 64, 193)
HSLhsl(299, 51%, 50%)
HSVhsv(299, 67%, 76%)
CMYKcmyk(1%, 66.8%, 0%, 24.3%)
CIE-LABlab(50.21, 65.83, -42.47)
CIE-LCHlch(50.21, 78.34, 327.17°)
OKLaboklab(59.91% 0.1827 -0.1176)
OKLCHoklch(59.91% 0.217 327.2)
XYZxyz(32.9444, 18.5956, 52.2959)
Luminance0.1859 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40C1 #42C140
analogous
#7F40C1 #BF40C1 #C14082
triadic
#BF40C1 #C1BF40 #40C1BF
tetradic
#BF40C1 #C17F40 #42C140 #4082C1
square
#BF40C1 #C17F40 #42C140 #4082C1
split-complementary
#BF40C1 #82C140 #40C17F
monochromatic
#652166 #923094 #BF40C1 #CE6ED0 #DE9CDF

Accessibility & contrast

On white

4.45
#BF40C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#BF40C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40C1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40C1#FFFFFF#000000##000000
##BF40C11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B6DC5
Deuteranopia (green-blind)
#5F7DBE
Tritanopia (blue-blind)
#C4537C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #bf40c1;
/* rgb */ color: rgb(191, 64, 193);
/* oklch */ color: oklch(59.9% 0.217 327.2);
Tailwind
colors: {
  custom: {
    50: '#d67fd4',
    500: '#bf40c1',
    950: '#000000',
  },
}
SCSS
$custom: #bf40c1;
$custom-light: #d67fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40c1",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 299.07,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.59907,
    "c": 0.21723,
    "h": 327.2
  },
  "luminance": 0.18593
}

Semantic roles & 50–950 ramp

primary
#BF40C1
secondary
#93CB92
accent
#DA4D50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BF40C1

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

Preview Lab → · Contrast checker → · Palette generator →

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