#BF51DB#BF51DB

#BF51DB is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.2% C 0.218 H 318.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BF51DB
RGBrgb(191, 81, 219)
HSLhsl(288, 66%, 59%)
HSVhsv(288, 63%, 86%)
CMYKcmyk(12.8%, 63%, 0%, 14.1%)
CIE-LABlab(54.11, 63.59, -51.16)
CIE-LCHlch(54.11, 81.62, 321.18°)
OKLaboklab(63.18% 0.1641 -0.143)
OKLCHoklch(63.18% 0.218 318.9)
XYZxyz(37.2128, 22.0773, 69.3053)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF51DB #6DDB51
analogous
#7A51DB #BF51DB #DB51B2
triadic
#BF51DB #DBBF51 #51DBBF
tetradic
#BF51DB #DB7A51 #6DDB51 #51B2DB
square
#BF51DB #DB7A51 #6DDB51 #51B2DB
split-complementary
#BF51DB #B2DB51 #51DB7A
monochromatic
#7B1E93 #A629C6 #BF51DB #D284E5 #E4B6F0

Accessibility & contrast

On white

3.88
#BF51DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#BF51DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF51DB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF51DB#FFFFFF#000000##000000
##BF51DB1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADF
Deuteranopia (green-blind)
#5985D8
Tritanopia (blue-blind)
#BF698F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #bf51db;
/* rgb */ color: rgb(191, 81, 219);
/* oklch */ color: oklch(63.2% 0.218 318.9);
Tailwind
colors: {
  custom: {
    50: '#d689e7',
    500: '#bf51db',
    950: '#000000',
  },
}
SCSS
$custom: #bf51db;
$custom-light: #d689e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf51db",
  "rgb": {
    "r": 191,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 287.826,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63178,
    "c": 0.21766,
    "h": 318.9
  },
  "luminance": 0.22076
}

Semantic roles & 50–950 ramp

primary
#BF51DB
secondary
#B4DFA9
accent
#E93F62
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BF51DB

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

Preview Lab → · Contrast checker → · Palette generator →

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