#BF51BB#BF51BB

#BF51BB is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.4% C 0.189 H 329.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BF51BB
RGBrgb(191, 81, 187)
HSLhsl(302, 46%, 53%)
HSVhsv(302, 58%, 75%)
CMYKcmyk(0%, 57.6%, 2.1%, 25.1%)
CIE-LABlab(52.45, 57.76, -35.46)
CIE-LCHlch(52.45, 67.78, 328.46°)
OKLaboklab(61.44% 0.1623 -0.0975)
OKLCHoklch(61.44% 0.189 329)
XYZxyz(33.3976, 20.5512, 49.2118)
Luminance0.2055 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51BB #51BF55
analogous
#8C51BF #BF51BB #BF5184
triadic
#BF51BB #BBBF51 #51BBBF
tetradic
#BF51BB #BF8C51 #51BF55 #5184BF
square
#BF51BB #BF8C51 #51BF55 #5184BF
split-complementary
#BF51BB #84BF51 #51BF8C
monochromatic
#6D286B #9A3997 #BF51BB #CF7ECC #E0AADE

Accessibility & contrast

On white

4.11
#BF51BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#BF51BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51BB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51BB#FFFFFF#000000##000000
##BF51BB1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#6C82B8
Tritanopia (blue-blind)
#C55D7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bf51bb;
/* rgb */ color: rgb(191, 81, 187);
/* oklch */ color: oklch(61.4% 0.189 329.0);
Tailwind
colors: {
  custom: {
    50: '#d588d0',
    500: '#bf51bb',
    950: '#000000',
  },
}
SCSS
$custom: #bf51bb;
$custom-light: #d588d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51bb",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 302.182,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61439,
    "c": 0.1893,
    "h": 329
  },
  "luminance": 0.20549
}

Semantic roles & 50–950 ramp

primary
#BF51BB
secondary
#9ECEA0
accent
#D65752
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #BF51BB

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

Preview Lab → · Contrast checker → · Palette generator →

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