#BF51E5#BF51E5

#BF51E5 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.8% C 0.227 H 316.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BF51E5
RGBrgb(191, 81, 229)
HSLhsl(285, 74%, 61%)
HSVhsv(285, 65%, 90%)
CMYKcmyk(16.6%, 64.6%, 0%, 10.2%)
CIE-LABlab(54.68, 65.52, -55.90)
CIE-LCHlch(54.68, 86.13, 319.53°)
OKLaboklab(63.77% 0.1639 -0.1569)
OKLCHoklch(63.77% 0.227 316.3)
XYZxyz(38.5690, 22.6198, 76.4479)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51E5 #77E551
analogous
#7551E5 #BF51E5 #E551C1
triadic
#BF51E5 #E5BF51 #51E5BF
tetradic
#BF51E5 #E57551 #77E551 #51C1E5
square
#BF51E5 #E57551 #77E551 #51C1E5
split-complementary
#BF51E5 #C1E551 #51E575
monochromatic
#8018A3 #A920D8 #BF51E5 #D386ED #E6BBF5

Accessibility & contrast

On white

3.80
#BF51E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#BF51E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51E5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51E5#FFFFFF#000000##000000
##BF51E51.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#117CE9
Deuteranopia (green-blind)
#5286E1
Tritanopia (blue-blind)
#BD6C94
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bf51e5;
/* rgb */ color: rgb(191, 81, 229);
/* oklch */ color: oklch(63.8% 0.227 316.3);
Tailwind
colors: {
  custom: {
    50: '#d689ee',
    500: '#bf51e5',
    950: '#000000',
  },
}
SCSS
$custom: #bf51e5;
$custom-light: #d689ee;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51e5",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 284.595,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63772,
    "c": 0.22689,
    "h": 316.3
  },
  "luminance": 0.22618
}

Semantic roles & 50–950 ramp

primary
#BF51E5
secondary
#BBE5AD
accent
#D60F42
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BF51E5

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

Preview Lab → · Contrast checker → · Palette generator →

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