#BF5BFE#BF5BFE

#BF5BFE is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.5% C 0.238 H 309.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#BF5BFE
RGBrgb(191, 91, 254)
HSLhsl(277, 99%, 68%)
HSVhsv(277, 64%, 100%)
CMYKcmyk(24.8%, 64.2%, 0%, 0.4%)
CIE-LABlab(57.77, 66.22, -64.89)
CIE-LCHlch(57.77, 92.71, 315.58°)
OKLaboklab(66.47% 0.1517 -0.1833)
OKLCHoklch(66.47% 0.238 309.6)
XYZxyz(43.1128, 25.7151, 96.4391)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF5BFE #9AFE5B
analogous
#6E5BFE #BF5BFE #FE5BEB
triadic
#BF5BFE #FEBF5B #5BFEBF
tetradic
#BF5BFE #FE6E5B #9AFE5B #5BEBFE
square
#BF5BFE #FE6E5B #9AFE5B #5BEBFE
split-complementary
#BF5BFE #EBFE5B #5BFE6E
monochromatic
#8801DD #A71EFE #BF5BFE #D798FE #EED5FF

Accessibility & contrast

On white

3.42
#BF5BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#BF5BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BF5BFE
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF5BFE#FFFFFF#000000##000000
##BF5BFE1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#438CFA
Tritanopia (blue-blind)
#B67CA5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #bf5bfe;
/* rgb */ color: rgb(191, 91, 254);
/* oklch */ color: oklch(66.5% 0.238 309.6);
Tailwind
colors: {
  custom: {
    50: '#d78fff',
    500: '#bf5bfe',
    950: '#000000',
  },
}
SCSS
$custom: #bf5bfe;
$custom-light: #d78fff;
$custom-dark: #000000;
JSON
{
  "hex": "#bf5bfe",
  "rgb": {
    "r": 191,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 276.81,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66474,
    "c": 0.2379,
    "h": 309.6
  },
  "luminance": 0.25714
}

Semantic roles & 50–950 ramp

primary
#BF5BFE
secondary
#D5F4C1
accent
#E60059
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BF5BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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