#BF51D7#BF51D7

#BF51D7 is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 62.9% C 0.214 H 320.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BF51D7
RGBrgb(191, 81, 215)
HSLhsl(289, 63%, 58%)
HSVhsv(289, 62%, 84%)
CMYKcmyk(11.2%, 62.3%, 0%, 15.7%)
CIE-LABlab(53.89, 62.83, -49.25)
CIE-LCHlch(53.89, 79.83, 321.91°)
OKLaboklab(62.95% 0.1641 -0.1374)
OKLCHoklch(62.95% 0.214 320)
XYZxyz(36.6925, 21.8692, 66.5652)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51D7 #69D751
analogous
#7C51D7 #BF51D7 #D751AC
triadic
#BF51D7 #D7BF51 #51D7BF
tetradic
#BF51D7 #D77C51 #69D751 #51ACD7
square
#BF51D7 #D77C51 #69D751 #51ACD7
split-complementary
#BF51D7 #ACD751 #51D77C
monochromatic
#7A208D #A52CBF #BF51D7 #D183E2 #E4B5EE

Accessibility & contrast

On white

3.91
#BF51D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#BF51D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51D7
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51D7#FFFFFF#000000##000000
##BF51D71.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D79DB
Deuteranopia (green-blind)
#5C85D4
Tritanopia (blue-blind)
#C0678D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bf51d7;
/* rgb */ color: rgb(191, 81, 215);
/* oklch */ color: oklch(62.9% 0.214 320.0);
Tailwind
colors: {
  custom: {
    50: '#d689e4',
    500: '#bf51d7',
    950: '#000000',
  },
}
SCSS
$custom: #bf51d7;
$custom-light: #d689e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51d7",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 289.254,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62946,
    "c": 0.21401,
    "h": 320
  },
  "luminance": 0.21868
}

Semantic roles & 50–950 ramp

primary
#BF51D7
secondary
#B1DDA7
accent
#E6425F
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #BF51D7

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

Preview Lab → · Contrast checker → · Palette generator →

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