#BF97FC#BF97FC

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

Color values

HEX#BF97FC
RGBrgb(191, 151, 252)
HSLhsl(264, 94%, 79%)
HSVhsv(264, 40%, 99%)
CMYKcmyk(24.2%, 40.1%, 0%, 1.2%)
CIE-LABlab(69.64, 34.82, -44.92)
CIE-LCHlch(69.64, 56.84, 307.78°)
OKLaboklab(75.22% 0.0759 -0.1252)
OKLCHoklch(75.22% 0.146 301.2)
XYZxyz(50.1193, 40.2377, 97.2028)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF97FC #D4FC97
analogous
#97A2FC #BF97FC #F197FC
triadic
#BF97FC #FCBF97 #97FCBF
tetradic
#BF97FC #FC97A2 #D4FC97 #97FCF1
square
#BF97FC #FC97A2 #D4FC97 #97FCF1
split-complementary
#BF97FC #FCF197 #A2FC97
monochromatic
#7620F9 #9A5CFA #BF97FC #E4D2FE #EDE1FE

Accessibility & contrast

On white

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

On black

9.05
#BF97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF97FC
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF97FC#FFFFFF#000000##000000
##BF97FC1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bf97fc;
/* rgb */ color: rgb(191, 151, 252);
/* oklch */ color: oklch(75.2% 0.146 301.2);
Tailwind
colors: {
  custom: {
    50: '#d4b6fe',
    500: '#bf97fc',
    950: '#000000',
  },
}
SCSS
$custom: #bf97fc;
$custom-light: #d4b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bf97fc",
  "rgb": {
    "r": 191,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 263.762,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75222,
    "c": 0.14639,
    "h": 301.2
  },
  "luminance": 0.40238
}

Semantic roles & 50–950 ramp

primary
#BF97FC
secondary
#E9F6D5
accent
#E6008B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BF97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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