#BB97F9#BB97F9

#BB97F9 is a light, vivid violet. Relative luminance 0.395; OKLCH L 74.7% C 0.142 H 299.9°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#BB97F9
RGBrgb(187, 151, 249)
HSLhsl(262, 89%, 78%)
HSVhsv(262, 39%, 98%)
CMYKcmyk(24.9%, 39.4%, 0%, 2.4%)
CIE-LABlab(69.14, 33.00, -44.10)
CIE-LCHlch(69.14, 55.08, 306.81°)
OKLaboklab(74.71% 0.0707 -0.1229)
OKLCHoklch(74.71% 0.142 299.9)
XYZxyz(48.6552, 39.5373, 94.6723)
Luminance0.3954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97F9 #D5F997
analogous
#97A4F9 #BB97F9 #EC97F9
triadic
#BB97F9 #F9BB97 #97F9BB
tetradic
#BB97F9 #F997A4 #D5F997 #97F9EC
square
#BB97F9 #F997A4 #D5F997 #97F9EC
split-complementary
#BB97F9 #F9EC97 #A4F997
monochromatic
#6F23F2 #955DF6 #BB97F9 #E1D1FC #ECE2FD

Accessibility & contrast

On white

2.36
#BB97F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#BB97F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97F9
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97F9#FFFFFF#000000##000000
##BB97F91.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FD
Deuteranopia (green-blind)
#85A8F6
Tritanopia (blue-blind)
#AFA7BC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb97f9;
/* rgb */ color: rgb(187, 151, 249);
/* oklch */ color: oklch(74.7% 0.142 299.9);
Tailwind
colors: {
  custom: {
    50: '#d1b6fb',
    500: '#bb97f9',
    950: '#000000',
  },
}
SCSS
$custom: #bb97f9;
$custom-light: #d1b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97f9",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 249
  },
  "hsl": {
    "h": 262.041,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74713,
    "c": 0.14178,
    "h": 299.9
  },
  "luminance": 0.39538
}

Semantic roles & 50–950 ramp

primary
#BB97F9
secondary
#EAF5D6
accent
#E60091
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB97F9

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

Preview Lab → · Contrast checker → · Palette generator →

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