#BF40C2#BF40C2

#BF40C2 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.0% C 0.218 H 326.9°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#BF40C2
RGBrgb(191, 64, 194)
HSLhsl(299, 52%, 51%)
HSVhsv(299, 67%, 76%)
CMYKcmyk(1.5%, 67%, 0%, 23.9%)
CIE-LABlab(50.26, 66.00, -42.97)
CIE-LCHlch(50.26, 78.75, 326.94°)
OKLaboklab(59.96% 0.1827 -0.119)
OKLCHoklch(59.96% 0.218 326.9)
XYZxyz(33.0563, 18.6404, 52.8853)
Luminance0.1864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40C2 #43C240
analogous
#7E40C2 #BF40C2 #C24084
triadic
#BF40C2 #C2BF40 #40C2BF
tetradic
#BF40C2 #C27E40 #43C240 #4084C2
square
#BF40C2 #C27E40 #43C240 #4084C2
split-complementary
#BF40C2 #84C240 #40C27E
monochromatic
#652167 #933095 #BF40C2 #CF6ED1 #DE9DE0

Accessibility & contrast

On white

4.44
#BF40C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#BF40C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40C2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40C2#FFFFFF#000000##000000
##BF40C21.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A6DC6
Deuteranopia (green-blind)
#5E7DBF
Tritanopia (blue-blind)
#C4537C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bf40c2;
/* rgb */ color: rgb(191, 64, 194);
/* oklch */ color: oklch(60.0% 0.218 326.9);
Tailwind
colors: {
  custom: {
    50: '#d67fd5',
    500: '#bf40c2',
    950: '#000000',
  },
}
SCSS
$custom: #bf40c2;
$custom-light: #d67fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40c2",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 298.615,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59963,
    "c": 0.21803,
    "h": 326.9
  },
  "luminance": 0.18638
}

Semantic roles & 50–950 ramp

primary
#BF40C2
secondary
#93CC92
accent
#DB4D50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BF40C2

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

Preview Lab → · Contrast checker → · Palette generator →

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