#BF28C5#BF28C5

#BF28C5 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.2% C 0.245 H 326.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BF28C5
RGBrgb(191, 40, 197)
HSLhsl(298, 66%, 46%)
HSVhsv(298, 80%, 77%)
CMYKcmyk(3%, 79.7%, 0%, 22.7%)
CIE-LABlab(47.79, 74.05, -48.64)
CIE-LCHlch(47.79, 88.60, 326.70°)
OKLaboklab(58.25% 0.2038 -0.1354)
OKLCHoklch(58.25% 0.245 326.4)
XYZxyz(32.3221, 16.6275, 54.3195)
Luminance0.1663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF28C5 #2EC528
analogous
#7128C5 #BF28C5 #C5287D
triadic
#BF28C5 #C5BF28 #28C5BF
tetradic
#BF28C5 #C57128 #2EC528 #287DC5
square
#BF28C5 #C57128 #2EC528 #287DC5
split-complementary
#BF28C5 #7DC528 #28C571
monochromatic
#5C135F #8E1E92 #BF28C5 #D64FDB #E282E6

Accessibility & contrast

On white

4.86
#BF28C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BF28C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BF28C5
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF28C5#FFFFFF#000000##FFFFFF
##BF28C51.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#5178C1
Tritanopia (blue-blind)
#C44678
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #bf28c5;
/* rgb */ color: rgb(191, 40, 197);
/* oklch */ color: oklch(58.2% 0.245 326.4);
Tailwind
colors: {
  custom: {
    50: '#d775d7',
    500: '#bf28c5',
    950: '#000000',
  },
}
SCSS
$custom: #bf28c5;
$custom-light: #d775d7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf28c5",
  "rgb": {
    "r": 191,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 297.707,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.24466,
    "h": 326.4
  },
  "luminance": 0.16625
}

Semantic roles & 50–950 ramp

primary
#BF28C5
secondary
#7ECE7A
accent
#E93F45
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BF28C5

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

Preview Lab → · Contrast checker → · Palette generator →

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