#BF97FD#BF97FD

#BF97FD is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.3% C 0.148 H 301.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#BF97FD
RGBrgb(191, 151, 253)
HSLhsl(264, 96%, 79%)
HSVhsv(264, 40%, 99%)
CMYKcmyk(24.5%, 40.3%, 0%, 0.8%)
CIE-LABlab(69.68, 35.05, -45.40)
CIE-LCHlch(69.68, 57.35, 307.67°)
OKLaboklab(75.27% 0.0761 -0.1266)
OKLCHoklch(75.27% 0.148 301)
XYZxyz(50.2781, 40.3013, 98.0396)
Luminance0.4030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF97FD #D5FD97
analogous
#97A2FD #BF97FD #F297FD
triadic
#BF97FD #FDBF97 #97FDBF
tetradic
#BF97FD #FD97A2 #D5FD97 #97FDF2
square
#BF97FD #FD97A2 #D5FD97 #97FDF2
split-complementary
#BF97FD #FDF297 #A2FD97
monochromatic
#751FFB #9A5BFC #BF97FD #E4D3FE #EDE1FE

Accessibility & contrast

On white

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

On black

9.06
#BF97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF97FD
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF97FD#FFFFFF#000000##000000
##BF97FD1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#85AAFA
Tritanopia (blue-blind)
#B4A8BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bf97fd;
/* rgb */ color: rgb(191, 151, 253);
/* oklch */ color: oklch(75.3% 0.148 301.0);
Tailwind
colors: {
  custom: {
    50: '#d4b6fe',
    500: '#bf97fd',
    950: '#000000',
  },
}
SCSS
$custom: #bf97fd;
$custom-light: #d4b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bf97fd",
  "rgb": {
    "r": 191,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 263.529,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7527,
    "c": 0.14766,
    "h": 301
  },
  "luminance": 0.40301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BF97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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