#BF51E8#BF51E8

#BF51E8 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.0% C 0.230 H 315.5°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#BF51E8
RGBrgb(191, 81, 232)
HSLhsl(284, 77%, 61%)
HSVhsv(284, 65%, 91%)
CMYKcmyk(17.7%, 65.1%, 0%, 9%)
CIE-LABlab(54.85, 66.11, -57.30)
CIE-LCHlch(54.85, 87.49, 319.08°)
OKLaboklab(63.96% 0.1638 -0.161)
OKLCHoklch(63.96% 0.23 315.5)
XYZxyz(38.9915, 22.7888, 78.6730)
Luminance0.2279 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51E8 #7AE851
analogous
#7451E8 #BF51E8 #E851C5
triadic
#BF51E8 #E8BF51 #51E8BF
tetradic
#BF51E8 #E87451 #7AE851 #51C5E8
square
#BF51E8 #E87451 #7AE851 #51C5E8
split-complementary
#BF51E8 #C5E851 #51E874
monochromatic
#8116A8 #AA1DDE #BF51E8 #D387EF #E7BDF6

Accessibility & contrast

On white

3.78
#BF51E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#BF51E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51E8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51E8#FFFFFF#000000##000000
##BF51E81.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#027DED
Deuteranopia (green-blind)
#4F86E4
Tritanopia (blue-blind)
#BC6E96
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bf51e8;
/* rgb */ color: rgb(191, 81, 232);
/* oklch */ color: oklch(64.0% 0.230 315.5);
Tailwind
colors: {
  custom: {
    50: '#d689f0',
    500: '#bf51e8',
    950: '#000000',
  },
}
SCSS
$custom: #bf51e8;
$custom-light: #d689f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51e8",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 283.709,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63955,
    "c": 0.22967,
    "h": 315.5
  },
  "luminance": 0.22787
}

Semantic roles & 50–950 ramp

primary
#BF51E8
secondary
#BEE7AE
accent
#D90D44
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BF51E8

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

Preview Lab → · Contrast checker → · Palette generator →

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