#BF97F2#BF97F2

#BF97F2 is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.7% C 0.134 H 303.6°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#BF97F2
RGBrgb(191, 151, 242)
HSLhsl(266, 78%, 77%)
HSVhsv(266, 38%, 95%)
CMYKcmyk(21.1%, 37.6%, 0%, 5.1%)
CIE-LABlab(69.20, 32.52, -40.16)
CIE-LCHlch(69.20, 51.68, 309.00°)
OKLaboklab(74.74% 0.0739 -0.1114)
OKLCHoklch(74.74% 0.134 303.6)
XYZxyz(48.5761, 39.6205, 89.0756)
Luminance0.3962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF97F2 #CAF297
analogous
#979DF2 #BF97F2 #ED97F2
triadic
#BF97F2 #F2BF97 #97F2BF
tetradic
#BF97F2 #F2979D #CAF297 #97F2ED
square
#BF97F2 #F2979D #CAF297 #97F2ED
split-complementary
#BF97F2 #F2ED97 #9DF297
monochromatic
#7C2AE4 #9E61EB #BF97F2 #E0CDF9 #EEE4FC

Accessibility & contrast

On white

2.35
#BF97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#BF97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF97F2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF97F2#FFFFFF#000000##000000
##BF97F21.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F5
Deuteranopia (green-blind)
#8AA9F0
Tritanopia (blue-blind)
#B7A5B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bf97f2;
/* rgb */ color: rgb(191, 151, 242);
/* oklch */ color: oklch(74.7% 0.134 303.6);
Tailwind
colors: {
  custom: {
    50: '#d4b6f6',
    500: '#bf97f2',
    950: '#000000',
  },
}
SCSS
$custom: #bf97f2;
$custom-light: #d4b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bf97f2",
  "rgb": {
    "r": 191,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 266.374,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74744,
    "c": 0.13373,
    "h": 303.6
  },
  "luminance": 0.3962
}

Semantic roles & 50–950 ramp

primary
#BF97F2
secondary
#E7F3D8
accent
#DA0B7F
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #BF97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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