#BF51BF#BF51BF

#BF51BF is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.6% C 0.193 H 327.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BF51BF
RGBrgb(191, 81, 191)
HSLhsl(300, 46%, 53%)
HSVhsv(300, 58%, 75%)
CMYKcmyk(0%, 57.6%, 0%, 25.1%)
CIE-LABlab(52.65, 58.46, -37.47)
CIE-LCHlch(52.65, 69.43, 327.34°)
OKLaboklab(61.64% 0.1627 -0.1032)
OKLCHoklch(61.64% 0.193 327.6)
XYZxyz(33.8317, 20.7249, 51.4985)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51BF #51BF51
analogous
#8851BF #BF51BF #BF5188
triadic
#BF51BF #BFBF51 #51BFBF
tetradic
#BF51BF #BF8851 #51BF51 #5188BF
square
#BF51BF #BF8851 #51BF51 #5188BF
split-complementary
#BF51BF #88BF51 #51BF88
monochromatic
#6D286D #9A399A #BF51BF #CF7ECF #E0AAE0

Accessibility & contrast

On white

4.08
#BF51BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BF51BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51BF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51BF#FFFFFF#000000##000000
##BF51BF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C2
Deuteranopia (green-blind)
#6A83BC
Tritanopia (blue-blind)
#C45E80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bf51bf;
/* rgb */ color: rgb(191, 81, 191);
/* oklch */ color: oklch(61.6% 0.193 327.6);
Tailwind
colors: {
  custom: {
    50: '#d588d2',
    500: '#bf51bf',
    950: '#000000',
  },
}
SCSS
$custom: #bf51bf;
$custom-light: #d588d2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51bf",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 300,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.61642,
    "c": 0.1927,
    "h": 327.6
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#BF51BF
secondary
#9ECE9E
accent
#D65252
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#150C14
muted
#837D82

Preview Lab

Preview with #BF51BF

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

Preview Lab → · Contrast checker → · Palette generator →

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