#BF81FB#BF81FB

#BF81FB is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.5% C 0.180 H 305.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#BF81FB
RGBrgb(191, 129, 251)
HSLhsl(270, 94%, 75%)
HSVhsv(270, 49%, 98%)
CMYKcmyk(23.9%, 48.6%, 0%, 1.6%)
CIE-LABlab(64.76, 46.58, -52.07)
CIE-LCHlch(64.76, 69.87, 311.81°)
OKLaboklab(71.54% 0.1053 -0.1459)
OKLCHoklch(71.54% 0.18 305.8)
XYZxyz(46.7451, 33.7423, 95.2984)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF81FB #BDFB81
analogous
#8281FB #BF81FB #FB81FA
triadic
#BF81FB #FBBF81 #81FBBF
tetradic
#BF81FB #FB8281 #BDFB81 #81FAFB
square
#BF81FB #FB8281 #BDFB81 #81FAFB
split-complementary
#BF81FB #FAFB81 #81FB82
monochromatic
#830AF7 #A146F9 #BF81FB #DDBCFD #F0E1FE

Accessibility & contrast

On white

2.71
#BF81FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#BF81FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF81FB
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF81FB#FFFFFF#000000##000000
##BF81FB1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#B596B2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bf81fb;
/* rgb */ color: rgb(191, 129, 251);
/* oklch */ color: oklch(71.5% 0.180 305.8);
Tailwind
colors: {
  custom: {
    50: '#d5a7fd',
    500: '#bf81fb',
    950: '#000000',
  },
}
SCSS
$custom: #bf81fb;
$custom-light: #d5a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bf81fb",
  "rgb": {
    "r": 191,
    "g": 129,
    "b": 251
  },
  "hsl": {
    "h": 270.492,
    "s": 93.846,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71543,
    "c": 0.17991,
    "h": 305.8
  },
  "luminance": 0.33742
}

Semantic roles & 50–950 ramp

primary
#BF81FB
secondary
#E5F6D5
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BF81FB

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

Preview Lab → · Contrast checker → · Palette generator →

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