#BF81FC#BF81FC

#BF81FC is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.6% C 0.181 H 305.6°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#BF81FC
RGBrgb(191, 129, 252)
HSLhsl(270, 95%, 75%)
HSVhsv(270, 49%, 99%)
CMYKcmyk(24.2%, 48.8%, 0%, 1.2%)
CIE-LABlab(64.81, 46.81, -52.54)
CIE-LCHlch(64.81, 70.37, 311.70°)
OKLaboklab(71.6% 0.1054 -0.1473)
OKLCHoklch(71.6% 0.181 305.6)
XYZxyz(46.9031, 33.8055, 96.1308)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF81FC #BEFC81
analogous
#8281FC #BF81FC #FC81FB
triadic
#BF81FC #FCBF81 #81FCBF
tetradic
#BF81FC #FC8281 #BEFC81 #81FBFC
square
#BF81FC #FC8281 #BEFC81 #81FBFC
split-complementary
#BF81FC #FBFC81 #81FC82
monochromatic
#8209F9 #A145FB #BF81FC #DDBDFD #F0E1FE

Accessibility & contrast

On white

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

On black

7.76
#BF81FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF81FC
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF81FC#FFFFFF#000000##000000
##BF81FC1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bf81fc;
/* rgb */ color: rgb(191, 129, 252);
/* oklch */ color: oklch(71.6% 0.181 305.6);
Tailwind
colors: {
  custom: {
    50: '#d5a7fe',
    500: '#bf81fc',
    950: '#000000',
  },
}
SCSS
$custom: #bf81fc;
$custom-light: #d5a7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bf81fc",
  "rgb": {
    "r": 191,
    "g": 129,
    "b": 252
  },
  "hsl": {
    "h": 270.244,
    "s": 95.349,
    "l": 74.706
  },
  "oklch": {
    "l": 0.71597,
    "c": 0.18109,
    "h": 305.6
  },
  "luminance": 0.33805
}

Semantic roles & 50–950 ramp

primary
#BF81FC
secondary
#E5F7D4
accent
#E60072
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F18
muted
#837F86

Preview Lab

Preview with #BF81FC

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

Preview Lab → · Contrast checker → · Palette generator →

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