#BB97F4#BB97F4

#BB97F4 is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.5% C 0.135 H 301.0°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#BB97F4
RGBrgb(187, 151, 244)
HSLhsl(263, 81%, 77%)
HSVhsv(263, 38%, 96%)
CMYKcmyk(23.4%, 38.1%, 0%, 4.3%)
CIE-LABlab(68.92, 31.83, -41.72)
CIE-LCHlch(68.92, 52.48, 307.35°)
OKLaboklab(74.47% 0.0697 -0.116)
OKLCHoklch(74.47% 0.135 301)
XYZxyz(47.8857, 39.2295, 90.6197)
Luminance0.3923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97F4 #D0F497
analogous
#97A1F4 #BB97F4 #EA97F4
triadic
#BB97F4 #F4BB97 #97F4BB
tetradic
#BB97F4 #F497A1 #D0F497 #97F4EA
square
#BB97F4 #F497A1 #D0F497 #97F4EA
split-complementary
#BB97F4 #F4EA97 #A1F497
monochromatic
#7328E8 #9760EE #BB97F4 #DFCEFA #EDE3FC

Accessibility & contrast

On white

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

On black

8.85
#BB97F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97F4
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97F4#FFFFFF#000000##000000
##BB97F41.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb97f4;
/* rgb */ color: rgb(187, 151, 244);
/* oklch */ color: oklch(74.5% 0.135 301.0);
Tailwind
colors: {
  custom: {
    50: '#d1b6f8',
    500: '#bb97f4',
    950: '#000000',
  },
}
SCSS
$custom: #bb97f4;
$custom-light: #d1b6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97f4",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 244
  },
  "hsl": {
    "h": 263.226,
    "s": 80.87,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74472,
    "c": 0.13536,
    "h": 301
  },
  "luminance": 0.3923
}

Semantic roles & 50–950 ramp

primary
#BB97F4
secondary
#E9F4D7
accent
#DD088B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB97F4

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

Preview Lab → · Contrast checker → · Palette generator →

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