#BF45B6#BF45B6

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

Color values

HEX#BF45B6
RGBrgb(191, 69, 182)
HSLhsl(304, 49%, 51%)
HSVhsv(304, 64%, 75%)
CMYKcmyk(0%, 63.9%, 4.7%, 25.1%)
CIE-LABlab(50.35, 62.06, -35.86)
CIE-LCHlch(50.35, 71.67, 329.98°)
OKLaboklab(59.83% 0.1765 -0.0985)
OKLCHoklch(59.83% 0.202 330.8)
XYZxyz(32.0573, 18.7124, 46.1703)
Luminance0.1871 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF45B6 #45BF4E
analogous
#8B45BF #BF45B6 #BF4579
triadic
#BF45B6 #B6BF45 #45B6BF
tetradic
#BF45B6 #BF8B45 #45BF4E #4579BF
square
#BF45B6 #BF8B45 #45BF4E #4579BF
split-complementary
#BF45B6 #79BF45 #45BF8B
monochromatic
#662361 #94338D #BF45B6 #CF73C8 #DEA0DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BF45B6#FFFFFF#000000##000000
##BF45B61.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)
#3D6DB9
Deuteranopia (green-blind)
#677EB3
Tritanopia (blue-blind)
#C65277
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #bf45b6;
/* rgb */ color: rgb(191, 69, 182);
/* oklch */ color: oklch(59.8% 0.202 330.8);
Tailwind
colors: {
  custom: {
    50: '#d581cc',
    500: '#bf45b6',
    950: '#000000',
  },
}
SCSS
$custom: #bf45b6;
$custom-light: #d581cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bf45b6",
  "rgb": {
    "r": 191,
    "g": 69,
    "b": 182
  },
  "hsl": {
    "h": 304.426,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59826,
    "c": 0.20209,
    "h": 330.8
  },
  "luminance": 0.1871
}

Semantic roles & 50–950 ramp

primary
#BF45B6
secondary
#95CB99
accent
#D85A4F
background
#FDF8FC
surface
#FBEFF9
border
#D4CAD2
text
#150B13
muted
#837C82

Preview Lab

Preview with #BF45B6

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

Preview Lab → · Contrast checker → · Palette generator →

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