#BF81EC#BF81EC

#BF81EC is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.8% C 0.162 H 309.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#BF81EC
RGBrgb(191, 129, 236)
HSLhsl(275, 74%, 72%)
HSVhsv(275, 45%, 93%)
CMYKcmyk(19.1%, 45.3%, 0%, 7.5%)
CIE-LABlab(64.03, 43.23, -44.97)
CIE-LCHlch(64.03, 62.38, 313.87°)
OKLaboklab(70.76% 0.1034 -0.1252)
OKLCHoklch(70.76% 0.162 309.5)
XYZxyz(44.4736, 32.8337, 83.3353)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF81EC #AEEC81
analogous
#8A81EC #BF81EC #EC81E4
triadic
#BF81EC #ECBF81 #81ECBF
tetradic
#BF81EC #EC8A81 #AEEC81 #81E4EC
square
#BF81EC #EC8A81 #AEEC81 #81E4EC
split-complementary
#BF81EC #E4EC81 #81EC8A
monochromatic
#8820D3 #A44CE4 #BF81EC #DAB6F4 #F1E4FB

Accessibility & contrast

On white

2.78
#BF81EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#BF81EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF81EC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF81EC#FFFFFF#000000##000000
##BF81EC1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#789CE9
Tritanopia (blue-blind)
#B992AB
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bf81ec;
/* rgb */ color: rgb(191, 129, 236);
/* oklch */ color: oklch(70.8% 0.162 309.5);
Tailwind
colors: {
  custom: {
    50: '#d4a7f2',
    500: '#bf81ec',
    950: '#000000',
  },
}
SCSS
$custom: #bf81ec;
$custom-light: #d4a7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bf81ec",
  "rgb": {
    "r": 191,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 274.766,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70759,
    "c": 0.16242,
    "h": 309.5
  },
  "luminance": 0.32833
}

Semantic roles & 50–950 ramp

primary
#BF81EC
secondary
#E2F2D7
accent
#D61063
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BF81EC

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

Preview Lab → · Contrast checker → · Palette generator →

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