#BF51BC#BF51BC

#BF51BC is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.5% C 0.190 H 328.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BF51BC
RGBrgb(191, 81, 188)
HSLhsl(302, 46%, 53%)
HSVhsv(302, 58%, 75%)
CMYKcmyk(0%, 57.6%, 1.6%, 25.1%)
CIE-LABlab(52.50, 57.94, -35.96)
CIE-LCHlch(52.50, 68.19, 328.17°)
OKLaboklab(61.49% 0.1624 -0.0989)
OKLCHoklch(61.49% 0.19 328.7)
XYZxyz(33.5050, 20.5942, 49.7775)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51BC #51BF54
analogous
#8B51BF #BF51BC #BF5185
triadic
#BF51BC #BCBF51 #51BCBF
tetradic
#BF51BC #BF8B51 #51BF54 #5185BF
square
#BF51BC #BF8B51 #51BF54 #5185BF
split-complementary
#BF51BC #85BF51 #51BF8B
monochromatic
#6D286B #9A3997 #BF51BC #CF7ECD #E0AADE

Accessibility & contrast

On white

4.10
#BF51BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#BF51BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51BC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51BC#FFFFFF#000000##000000
##BF51BC1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4774BF
Deuteranopia (green-blind)
#6B83B9
Tritanopia (blue-blind)
#C55D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bf51bc;
/* rgb */ color: rgb(191, 81, 188);
/* oklch */ color: oklch(61.5% 0.190 328.7);
Tailwind
colors: {
  custom: {
    50: '#d588d0',
    500: '#bf51bc',
    950: '#000000',
  },
}
SCSS
$custom: #bf51bc;
$custom-light: #d588d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51bc",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 301.636,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61489,
    "c": 0.19014,
    "h": 328.7
  },
  "luminance": 0.20592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF51BC

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

Preview Lab → · Contrast checker → · Palette generator →

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