#BF40D2#BF40D2

#BF40D2 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.9% C 0.231 H 322.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BF40D2
RGBrgb(191, 64, 210)
HSLhsl(292, 62%, 54%)
HSVhsv(292, 70%, 82%)
CMYKcmyk(9%, 69.5%, 0%, 17.6%)
CIE-LABlab(51.15, 68.78, -50.76)
CIE-LCHlch(51.15, 85.48, 323.57°)
OKLaboklab(60.89% 0.1826 -0.1417)
OKLCHoklch(60.89% 0.231 322.2)
XYZxyz(34.9509, 19.3982, 62.8635)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF40D2 #53D240
analogous
#7640D2 #BF40D2 #D2409C
triadic
#BF40D2 #D2BF40 #40D2BF
tetradic
#BF40D2 #D27640 #53D240 #409CD2
square
#BF40D2 #D27640 #53D240 #409CD2
split-complementary
#BF40D2 #9CD240 #40D276
monochromatic
#6E1D7B #9B29AC #BF40D2 #D072DE #E0A3E9

Accessibility & contrast

On white

4.30
#BF40D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BF40D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF40D2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF40D2#FFFFFF#000000##000000
##BF40D21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0471D6
Deuteranopia (green-blind)
#547FCE
Tritanopia (blue-blind)
#C15A85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #bf40d2;
/* rgb */ color: rgb(191, 64, 210);
/* oklch */ color: oklch(60.9% 0.231 322.2);
Tailwind
colors: {
  custom: {
    50: '#d680e0',
    500: '#bf40d2',
    950: '#000000',
  },
}
SCSS
$custom: #bf40d2;
$custom-light: #d680e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf40d2",
  "rgb": {
    "r": 191,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 292.192,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60885,
    "c": 0.23113,
    "h": 322.2
  },
  "luminance": 0.19396
}

Semantic roles & 50–950 ramp

primary
#BF40D2
secondary
#A0D698
accent
#E54358
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BF40D2

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

Preview Lab → · Contrast checker → · Palette generator →

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