#BB97FA#BB97FA

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

Color values

HEX#BB97FA
RGBrgb(187, 151, 250)
HSLhsl(262, 91%, 79%)
HSVhsv(262, 40%, 98%)
CMYKcmyk(25.2%, 39.6%, 0%, 2%)
CIE-LABlab(69.18, 33.23, -44.57)
CIE-LCHlch(69.18, 55.60, 306.71°)
OKLaboklab(74.76% 0.0709 -0.1243)
OKLCHoklch(74.76% 0.143 299.7)
XYZxyz(48.8115, 39.5999, 95.4959)
Luminance0.3960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97FA #D6FA97
analogous
#97A4FA #BB97FA #EC97FA
triadic
#BB97FA #FABB97 #97FABB
tetradic
#BB97FA #FA97A4 #D6FA97 #97FAEC
square
#BB97FA #FA97A4 #D6FA97 #97FAEC
split-complementary
#BB97FA #FAEC97 #A4FA97
monochromatic
#6F22F4 #955DF7 #BB97FA #E1D1FD #ECE2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB97FA#FFFFFF#000000##000000
##BB97FA1.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)
#7DA9FE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#AFA8BD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb97fa;
/* rgb */ color: rgb(187, 151, 250);
/* oklch */ color: oklch(74.8% 0.143 299.7);
Tailwind
colors: {
  custom: {
    50: '#d1b6fc',
    500: '#bb97fa',
    950: '#000000',
  },
}
SCSS
$custom: #bb97fa;
$custom-light: #d1b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97fa",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 261.818,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74762,
    "c": 0.14306,
    "h": 299.7
  },
  "luminance": 0.396
}

Semantic roles & 50–950 ramp

primary
#BB97FA
secondary
#EAF6D5
accent
#E60092
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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