#BB97F5#BB97F5

#BB97F5 is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.5% C 0.137 H 300.8°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#BB97F5
RGBrgb(187, 151, 245)
HSLhsl(263, 82%, 78%)
HSVhsv(263, 38%, 96%)
CMYKcmyk(23.7%, 38.4%, 0%, 3.9%)
CIE-LABlab(68.96, 32.07, -42.20)
CIE-LCHlch(68.96, 53.00, 307.23°)
OKLaboklab(74.52% 0.0699 -0.1174)
OKLCHoklch(74.52% 0.137 300.8)
XYZxyz(48.0379, 39.2904, 91.4215)
Luminance0.3929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97F5 #D1F597
analogous
#97A2F5 #BB97F5 #EA97F5
triadic
#BB97F5 #F5BB97 #97F5BB
tetradic
#BB97F5 #F597A2 #D1F597 #97F5EA
square
#BB97F5 #F597A2 #D1F597 #97F5EA
split-complementary
#BB97F5 #F5EA97 #A2F597
monochromatic
#7227EA #965FF0 #BB97F5 #E0CFFA #EDE3FC

Accessibility & contrast

On white

2.37
#BB97F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#BB97F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97F5
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97F5#FFFFFF#000000##000000
##BB97F51.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A8F9
Deuteranopia (green-blind)
#87A8F3
Tritanopia (blue-blind)
#B1A6BA
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb97f5;
/* rgb */ color: rgb(187, 151, 245);
/* oklch */ color: oklch(74.5% 0.137 300.8);
Tailwind
colors: {
  custom: {
    50: '#d1b6f9',
    500: '#bb97f5',
    950: '#000000',
  },
}
SCSS
$custom: #bb97f5;
$custom-light: #d1b6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97f5",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 245
  },
  "hsl": {
    "h": 262.979,
    "s": 82.456,
    "l": 77.647
  },
  "oklch": {
    "l": 0.7452,
    "c": 0.13664,
    "h": 300.8
  },
  "luminance": 0.39291
}

Semantic roles & 50–950 ramp

primary
#BB97F5
secondary
#E9F4D7
accent
#DF078C
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB97F5

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

Preview Lab → · Contrast checker → · Palette generator →

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