#BF51E9#BF51E9

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

Color values

HEX#BF51E9
RGBrgb(191, 81, 233)
HSLhsl(283, 78%, 62%)
HSVhsv(283, 65%, 91%)
CMYKcmyk(18%, 65.2%, 0%, 8.6%)
CIE-LABlab(54.91, 66.31, -57.77)
CIE-LCHlch(54.91, 87.95, 318.94°)
OKLaboklab(64.02% 0.1638 -0.1623)
OKLCHoklch(64.02% 0.231 315.3)
XYZxyz(39.1339, 22.8458, 79.4232)
Luminance0.2284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51E9 #7BE951
analogous
#7351E9 #BF51E9 #E951C7
triadic
#BF51E9 #E9BF51 #51E9BF
tetradic
#BF51E9 #E97351 #7BE951 #51C7E9
square
#BF51E9 #E97351 #7BE951 #51C7E9
split-complementary
#BF51E9 #C7E951 #51E973
monochromatic
#8116AA #AA1CE0 #BF51E9 #D387F0 #E7BEF7

Accessibility & contrast

On white

3.77
#BF51E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#BF51E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51E9
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51E9#FFFFFF#000000##000000
##BF51E91.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#4E86E5
Tritanopia (blue-blind)
#BC6E96
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bf51e9;
/* rgb */ color: rgb(191, 81, 233);
/* oklch */ color: oklch(64.0% 0.231 315.3);
Tailwind
colors: {
  custom: {
    50: '#d689f1',
    500: '#bf51e9',
    950: '#000000',
  },
}
SCSS
$custom: #bf51e9;
$custom-light: #d689f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51e9",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 233
  },
  "hsl": {
    "h": 283.421,
    "s": 77.551,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64016,
    "c": 0.2306,
    "h": 315.3
  },
  "luminance": 0.22844
}

Semantic roles & 50–950 ramp

primary
#BF51E9
secondary
#BEE7AF
accent
#DA0C45
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BF51E9

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

Preview Lab → · Contrast checker → · Palette generator →

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