#BF81F2#BF81F2

#BF81F2 is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.1% C 0.169 H 308.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#BF81F2
RGBrgb(191, 129, 242)
HSLhsl(273, 81%, 73%)
HSVhsv(273, 47%, 95%)
CMYKcmyk(21.1%, 46.7%, 0%, 5.1%)
CIE-LABlab(64.31, 44.56, -47.83)
CIE-LCHlch(64.31, 65.37, 312.97°)
OKLaboklab(71.07% 0.1042 -0.1335)
OKLCHoklch(71.07% 0.169 308)
XYZxyz(45.3600, 33.1882, 88.0036)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF81F2 #B4F281
analogous
#8681F2 #BF81F2 #F281ED
triadic
#BF81F2 #F2BF81 #81F2BF
tetradic
#BF81F2 #F28681 #B4F281 #81EDF2
square
#BF81F2 #F28681 #B4F281 #81EDF2
split-complementary
#BF81F2 #EDF281 #81F286
monochromatic
#8617E1 #A34AEC #BF81F2 #DBB8F8 #F1E3FC

Accessibility & contrast

On white

2.75
#BF81F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#BF81F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF81F2
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF81F2#FFFFFF#000000##000000
##BF81F21.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#759DEF
Tritanopia (blue-blind)
#B894AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bf81f2;
/* rgb */ color: rgb(191, 129, 242);
/* oklch */ color: oklch(71.1% 0.169 308.0);
Tailwind
colors: {
  custom: {
    50: '#d4a7f7',
    500: '#bf81f2',
    950: '#000000',
  },
}
SCSS
$custom: #bf81f2;
$custom-light: #d4a7f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bf81f2",
  "rgb": {
    "r": 191,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 272.92,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71067,
    "c": 0.16941,
    "h": 308
  },
  "luminance": 0.33188
}

Semantic roles & 50–950 ramp

primary
#BF81F2
secondary
#E4F4D7
accent
#DE0868
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #BF81F2

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

Preview Lab → · Contrast checker → · Palette generator →

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