#BF51BA#BF51BA

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

Color values

HEX#BF51BA
RGBrgb(191, 81, 186)
HSLhsl(303, 46%, 53%)
HSVhsv(303, 58%, 75%)
CMYKcmyk(0%, 57.6%, 2.6%, 25.1%)
CIE-LABlab(52.41, 57.59, -34.95)
CIE-LCHlch(52.41, 67.37, 328.74°)
OKLaboklab(61.39% 0.1622 -0.096)
OKLCHoklch(61.39% 0.188 329.4)
XYZxyz(33.2909, 20.5086, 48.6499)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51BA #51BF56
analogous
#8D51BF #BF51BA #BF5183
triadic
#BF51BA #BABF51 #51BABF
tetradic
#BF51BA #BF8D51 #51BF56 #5183BF
square
#BF51BA #BF8D51 #51BF56 #5183BF
split-complementary
#BF51BA #83BF51 #51BF8D
monochromatic
#6D286A #9A3996 #BF51BA #CF7ECC #E0AADD

Accessibility & contrast

On white

4.12
#BF51BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BF51BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51BA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51BA#FFFFFF#000000##000000
##BF51BA1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BD
Deuteranopia (green-blind)
#6C82B7
Tritanopia (blue-blind)
#C55C7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bf51ba;
/* rgb */ color: rgb(191, 81, 186);
/* oklch */ color: oklch(61.4% 0.188 329.4);
Tailwind
colors: {
  custom: {
    50: '#d588cf',
    500: '#bf51ba',
    950: '#000000',
  },
}
SCSS
$custom: #bf51ba;
$custom-light: #d588cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51ba",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 302.727,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61388,
    "c": 0.18845,
    "h": 329.4
  },
  "luminance": 0.20506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF51BA

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

Preview Lab → · Contrast checker → · Palette generator →

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