#BF51B8#BF51B8

#BF51B8 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.3% C 0.187 H 330.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BF51B8
RGBrgb(191, 81, 184)
HSLhsl(304, 46%, 53%)
HSVhsv(304, 58%, 75%)
CMYKcmyk(0%, 57.6%, 3.7%, 25.1%)
CIE-LABlab(52.31, 57.25, -33.94)
CIE-LCHlch(52.31, 66.56, 329.34°)
OKLaboklab(61.29% 0.1619 -0.0931)
OKLCHoklch(61.29% 0.187 330.1)
XYZxyz(33.0798, 20.4241, 47.5380)
Luminance0.2042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51B8 #51BF58
analogous
#8F51BF #BF51B8 #BF5181
triadic
#BF51B8 #B8BF51 #51B8BF
tetradic
#BF51B8 #BF8F51 #51BF58 #5181BF
square
#BF51B8 #BF8F51 #51BF58 #5181BF
split-complementary
#BF51B8 #81BF51 #51BF8F
monochromatic
#6D2869 #9A3994 #BF51B8 #CF7ECA #E0AADD

Accessibility & contrast

On white

4.13
#BF51B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#BF51B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51B8
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51B8#FFFFFF#000000##000000
##BF51B81.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A73BB
Deuteranopia (green-blind)
#6D82B5
Tritanopia (blue-blind)
#C65C7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bf51b8;
/* rgb */ color: rgb(191, 81, 184);
/* oklch */ color: oklch(61.3% 0.187 330.1);
Tailwind
colors: {
  custom: {
    50: '#d588cd',
    500: '#bf51b8',
    950: '#000000',
  },
}
SCSS
$custom: #bf51b8;
$custom-light: #d588cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51b8",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 184
  },
  "hsl": {
    "h": 303.818,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.18678,
    "h": 330.1
  },
  "luminance": 0.20422
}

Semantic roles & 50–950 ramp

primary
#BF51B8
secondary
#9ECEA1
accent
#D65A52
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#150C13
muted
#837D82

Preview Lab

Preview with #BF51B8

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

Preview Lab → · Contrast checker → · Palette generator →

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