#BF51E7#BF51E7

#BF51E7 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.9% C 0.229 H 315.8°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BF51E7
RGBrgb(191, 81, 231)
HSLhsl(284, 76%, 61%)
HSVhsv(284, 65%, 91%)
CMYKcmyk(17.3%, 64.9%, 0%, 9.4%)
CIE-LABlab(54.80, 65.92, -56.84)
CIE-LCHlch(54.80, 87.04, 319.23°)
OKLaboklab(63.89% 0.1639 -0.1596)
OKLCHoklch(63.89% 0.229 315.8)
XYZxyz(38.8498, 22.7322, 77.9271)
Luminance0.2273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51E7 #79E751
analogous
#7451E7 #BF51E7 #E751C4
triadic
#BF51E7 #E7BF51 #51E7BF
tetradic
#BF51E7 #E77451 #79E751 #51C4E7
square
#BF51E7 #E77451 #79E751 #51C4E7
split-complementary
#BF51E7 #C4E751 #51E774
monochromatic
#8017A7 #AA1EDC #BF51E7 #D387EE #E7BDF6

Accessibility & contrast

On white

3.79
#BF51E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#BF51E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51E7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51E7#FFFFFF#000000##000000
##BF51E71.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#077DEB
Deuteranopia (green-blind)
#5086E3
Tritanopia (blue-blind)
#BC6D95
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bf51e7;
/* rgb */ color: rgb(191, 81, 231);
/* oklch */ color: oklch(63.9% 0.229 315.8);
Tailwind
colors: {
  custom: {
    50: '#d689ef',
    500: '#bf51e7',
    950: '#000000',
  },
}
SCSS
$custom: #bf51e7;
$custom-light: #d689ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51e7",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 284,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63894,
    "c": 0.22874,
    "h": 315.8
  },
  "luminance": 0.22731
}

Semantic roles & 50–950 ramp

primary
#BF51E7
secondary
#BDE6AE
accent
#D80E44
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BF51E7

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

Preview Lab → · Contrast checker → · Palette generator →

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