#BF51E6#BF51E6

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

Color values

HEX#BF51E6
RGBrgb(191, 81, 230)
HSLhsl(284, 75%, 61%)
HSVhsv(284, 65%, 90%)
CMYKcmyk(17%, 64.8%, 0%, 9.8%)
CIE-LABlab(54.74, 65.72, -56.37)
CIE-LCHlch(54.74, 86.58, 319.38°)
OKLaboklab(63.83% 0.1639 -0.1582)
OKLCHoklch(63.83% 0.228 316)
XYZxyz(38.7090, 22.6758, 77.1854)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51E6 #78E651
analogous
#7451E6 #BF51E6 #E651C2
triadic
#BF51E6 #E6BF51 #51E6BF
tetradic
#BF51E6 #E67451 #78E651 #51C2E6
square
#BF51E6 #E67451 #78E651 #51C2E6
split-complementary
#BF51E6 #C2E651 #51E674
monochromatic
#8018A5 #A91FDA #BF51E6 #D387EE #E6BCF5

Accessibility & contrast

On white

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

On black

5.53
#BF51E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51E6
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51E6#FFFFFF#000000##000000
##BF51E61.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7CEA
Deuteranopia (green-blind)
#5186E2
Tritanopia (blue-blind)
#BD6D95
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bf51e6;
/* rgb */ color: rgb(191, 81, 230);
/* oklch */ color: oklch(63.8% 0.228 316.0);
Tailwind
colors: {
  custom: {
    50: '#d689ef',
    500: '#bf51e6',
    950: '#000000',
  },
}
SCSS
$custom: #bf51e6;
$custom-light: #d689ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51e6",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 284.295,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63833,
    "c": 0.22782,
    "h": 316
  },
  "luminance": 0.22674
}

Semantic roles & 50–950 ramp

primary
#BF51E6
secondary
#BCE5AD
accent
#D70E43
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BF51E6

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

Preview Lab → · Contrast checker → · Palette generator →

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