#BF81F8#BF81F8

#BF81F8 is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.4% C 0.176 H 306.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#BF81F8
RGBrgb(191, 129, 248)
HSLhsl(271, 89%, 74%)
HSVhsv(271, 48%, 97%)
CMYKcmyk(23%, 48%, 0%, 2.7%)
CIE-LABlab(64.61, 45.90, -50.66)
CIE-LCHlch(64.61, 68.36, 312.18°)
OKLaboklab(71.38% 0.105 -0.1418)
OKLCHoklch(71.38% 0.176 306.5)
XYZxyz(46.2759, 33.5546, 92.8276)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF81F8 #BAF881
analogous
#8481F8 #BF81F8 #F881F5
triadic
#BF81F8 #F8BF81 #81F8BF
tetradic
#BF81F8 #F88481 #BAF881 #81F5F8
square
#BF81F8 #F88481 #BAF881 #81F5F8
split-complementary
#BF81F8 #F5F881 #81F884
monochromatic
#840DF1 #A247F5 #BF81F8 #DCBBFB #F0E2FD

Accessibility & contrast

On white

2.72
#BF81F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#BF81F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF81F8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF81F8#FFFFFF#000000##000000
##BF81F81.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#719DF5
Tritanopia (blue-blind)
#B695B1
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #bf81f8;
/* rgb */ color: rgb(191, 129, 248);
/* oklch */ color: oklch(71.4% 0.176 306.5);
Tailwind
colors: {
  custom: {
    50: '#d5a7fb',
    500: '#bf81f8',
    950: '#000000',
  },
}
SCSS
$custom: #bf81f8;
$custom-light: #d5a7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bf81f8",
  "rgb": {
    "r": 191,
    "g": 129,
    "b": 248
  },
  "hsl": {
    "h": 271.261,
    "s": 89.474,
    "l": 73.922
  },
  "oklch": {
    "l": 0.71383,
    "c": 0.17641,
    "h": 306.5
  },
  "luminance": 0.33554
}

Semantic roles & 50–950 ramp

primary
#BF81F8
secondary
#E5F5D6
accent
#E6006E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BF81F8

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

Preview Lab → · Contrast checker → · Palette generator →

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