#BF97FE#BF97FE

#BF97FE is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.3% C 0.149 H 300.8°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#BF97FE
RGBrgb(191, 151, 254)
HSLhsl(263, 98%, 79%)
HSVhsv(263, 41%, 100%)
CMYKcmyk(24.8%, 40.6%, 0%, 0.4%)
CIE-LABlab(69.73, 35.28, -45.87)
CIE-LCHlch(69.73, 57.87, 307.57°)
OKLaboklab(75.32% 0.0762 -0.1279)
OKLCHoklch(75.32% 0.149 300.8)
XYZxyz(50.4379, 40.3652, 98.8807)
Luminance0.4037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF97FE #D6FE97
analogous
#97A3FE #BF97FE #F397FE
triadic
#BF97FE #FEBF97 #97FEBF
tetradic
#BF97FE #FE97A3 #D6FE97 #97FEF3
square
#BF97FE #FE97A3 #D6FE97 #97FEF3
split-complementary
#BF97FE #FEF397 #A3FE97
monochromatic
#741EFD #9A5AFD #BF97FE #E4D4FF #ECE1FF

Accessibility & contrast

On white

2.31
#BF97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#BF97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF97FE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF97FE#FFFFFF#000000##000000
##BF97FE1.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#84AAFB
Tritanopia (blue-blind)
#B3A8BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bf97fe;
/* rgb */ color: rgb(191, 151, 254);
/* oklch */ color: oklch(75.3% 0.149 300.8);
Tailwind
colors: {
  custom: {
    50: '#d4b6ff',
    500: '#bf97fe',
    950: '#000000',
  },
}
SCSS
$custom: #bf97fe;
$custom-light: #d4b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bf97fe",
  "rgb": {
    "r": 191,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 263.301,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75319,
    "c": 0.14893,
    "h": 300.8
  },
  "luminance": 0.40365
}

Semantic roles & 50–950 ramp

primary
#BF97FE
secondary
#E9F7D4
accent
#E6008C
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BF97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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