#BFA7FE#BFA7FE

#BFA7FE is a light, vivid violet. Relative luminance 0.459; OKLCH L 78.2% C 0.124 H 296.1°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#BFA7FE
RGBrgb(191, 167, 254)
HSLhsl(257, 98%, 83%)
HSVhsv(257, 34%, 100%)
CMYKcmyk(24.8%, 34.3%, 0%, 0.4%)
CIE-LABlab(73.46, 26.43, -40.03)
CIE-LCHlch(73.46, 47.97, 303.43°)
OKLaboklab(78.16% 0.0544 -0.1111)
OKLCHoklch(78.16% 0.124 296.1)
XYZxyz(53.1898, 45.8690, 99.7981)
Luminance0.4587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA7FE #E6FEA7
analogous
#A7BAFE #BFA7FE #EBA7FE
triadic
#BFA7FE #FEBFA7 #A7FEBF
tetradic
#BFA7FE #FEA7BA #E6FEA7 #A7FEEB
square
#BFA7FE #FEA7BA #E6FEA7 #A7FEEB
split-complementary
#BFA7FE #FEEBA7 #BAFEA7
monochromatic
#672EFD #936AFD #BFA7FE #E9E1FF #E9E1FF

Accessibility & contrast

On white

2.06
#BFA7FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.17
#BFA7FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA7FE
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA7FE#FFFFFF#000000##000000
##BFA7FE1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B5FF
Deuteranopia (green-blind)
#94B3FC
Tritanopia (blue-blind)
#B2B6C7
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bfa7fe;
/* rgb */ color: rgb(191, 167, 254);
/* oklch */ color: oklch(78.2% 0.124 296.1);
Tailwind
colors: {
  custom: {
    50: '#d4c1ff',
    500: '#bfa7fe',
    950: '#000000',
  },
}
SCSS
$custom: #bfa7fe;
$custom-light: #d4c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa7fe",
  "rgb": {
    "r": 191,
    "g": 167,
    "b": 254
  },
  "hsl": {
    "h": 256.552,
    "s": 97.753,
    "l": 82.549
  },
  "oklch": {
    "l": 0.78156,
    "c": 0.12375,
    "h": 296.1
  },
  "luminance": 0.4587
}

Semantic roles & 50–950 ramp

primary
#BFA7FE
secondary
#EDF7D4
accent
#E600A6
background
#FDFBFF
surface
#FAF7FF
border
#D3D0D7
text
#141218
muted
#838186

Preview Lab

Preview with #BFA7FE

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

Preview Lab → · Contrast checker → · Palette generator →

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