#BF97FB#BF97FB

#BF97FB is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.2% C 0.145 H 301.4°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#BF97FB
RGBrgb(191, 151, 251)
HSLhsl(264, 93%, 79%)
HSVhsv(264, 40%, 98%)
CMYKcmyk(23.9%, 39.8%, 0%, 1.6%)
CIE-LABlab(69.59, 34.58, -44.45)
CIE-LCHlch(69.59, 56.32, 307.89°)
OKLaboklab(75.17% 0.0757 -0.1238)
OKLCHoklch(75.17% 0.145 301.4)
XYZxyz(49.9612, 40.1745, 96.3704)
Luminance0.4017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF97FB #D3FB97
analogous
#97A1FB #BF97FB #F197FB
triadic
#BF97FB #FBBF97 #97FBBF
tetradic
#BF97FB #FB97A1 #D3FB97 #97FBF1
square
#BF97FB #FB97A1 #D3FB97 #97FBF1
split-complementary
#BF97FB #FBF197 #A1FB97
monochromatic
#7621F6 #9B5CF9 #BF97FB #E3D2FD #EDE2FE

Accessibility & contrast

On white

2.32
#BF97FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#BF97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF97FB
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF97FB#FFFFFF#000000##000000
##BF97FB1.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FF
Deuteranopia (green-blind)
#86AAF8
Tritanopia (blue-blind)
#B4A8BD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bf97fb;
/* rgb */ color: rgb(191, 151, 251);
/* oklch */ color: oklch(75.2% 0.145 301.4);
Tailwind
colors: {
  custom: {
    50: '#d4b6fd',
    500: '#bf97fb',
    950: '#000000',
  },
}
SCSS
$custom: #bf97fb;
$custom-light: #d4b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bf97fb",
  "rgb": {
    "r": 191,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 264,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75173,
    "c": 0.14513,
    "h": 301.4
  },
  "luminance": 0.40175
}

Semantic roles & 50–950 ramp

primary
#BF97FB
secondary
#E9F6D5
accent
#E6008A
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BF97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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