#BF7EFE#BF7EFE

#BF7EFE is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.2% C 0.188 H 305.6°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#BF7EFE
RGBrgb(191, 126, 254)
HSLhsl(270, 98%, 75%)
HSVhsv(270, 50%, 100%)
CMYKcmyk(24.8%, 50.4%, 0%, 0.4%)
CIE-LABlab(64.29, 48.86, -54.47)
CIE-LCHlch(64.29, 73.17, 311.89°)
OKLaboklab(71.24% 0.1095 -0.1529)
OKLCHoklch(71.24% 0.188 305.6)
XYZxyz(46.8324, 33.1542, 97.6789)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF7EFE #BDFE7E
analogous
#7F7EFE #BF7EFE #FE7EFD
triadic
#BF7EFE #FEBF7E #7EFEBF
tetradic
#BF7EFE #FE7F7E #BDFE7E #7EFDFE
square
#BF7EFE #FE7F7E #BDFE7E #7EFDFE
split-complementary
#BF7EFE #FDFE7E #7EFE7F
monochromatic
#8305FD #A141FE #BF7EFE #DDBBFE #F0E1FF

Accessibility & contrast

On white

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

On black

7.63
#BF7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF7EFE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF7EFE#FFFFFF#000000##000000
##BF7EFE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#6A9CFB
Tritanopia (blue-blind)
#B595B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bf7efe;
/* rgb */ color: rgb(191, 126, 254);
/* oklch */ color: oklch(71.2% 0.188 305.6);
Tailwind
colors: {
  custom: {
    50: '#d5a5ff',
    500: '#bf7efe',
    950: '#000000',
  },
}
SCSS
$custom: #bf7efe;
$custom-light: #d5a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bf7efe",
  "rgb": {
    "r": 191,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 270.469,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.71242,
    "c": 0.18804,
    "h": 305.6
  },
  "luminance": 0.33154
}

Semantic roles & 50–950 ramp

primary
#BF7EFE
secondary
#E5F7D4
accent
#E60071
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #BF7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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