#BB97F0#BB97F0

#BB97F0 is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.3% C 0.130 H 301.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#BB97F0
RGBrgb(187, 151, 240)
HSLhsl(264, 75%, 77%)
HSVhsv(264, 37%, 94%)
CMYKcmyk(22.1%, 37.1%, 0%, 5.9%)
CIE-LABlab(68.74, 30.91, -39.80)
CIE-LCHlch(68.74, 50.40, 307.83°)
OKLaboklab(74.28% 0.0689 -0.1105)
OKLCHoklch(74.28% 0.13 301.9)
XYZxyz(47.2849, 38.9892, 87.4558)
Luminance0.3899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97F0 #CCF097
analogous
#97A0F0 #BB97F0 #E897F0
triadic
#BB97F0 #F0BB97 #97F0BB
tetradic
#BB97F0 #F097A0 #CCF097 #97F0E8
square
#BB97F0 #F097A0 #CCF097 #97F0E8
split-complementary
#BB97F0 #F0E897 #A0F097
monochromatic
#752CE1 #9862E8 #BB97F0 #DECCF8 #EEE4FB

Accessibility & contrast

On white

2.39
#BB97F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#BB97F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97F0
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97F0#FFFFFF#000000##000000
##BB97F01.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A7F3
Deuteranopia (green-blind)
#89A7EE
Tritanopia (blue-blind)
#B2A5B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb97f0;
/* rgb */ color: rgb(187, 151, 240);
/* oklch */ color: oklch(74.3% 0.130 301.9);
Tailwind
colors: {
  custom: {
    50: '#d1b6f5',
    500: '#bb97f0',
    950: '#000000',
  },
}
SCSS
$custom: #bb97f0;
$custom-light: #d1b6f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97f0",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 240
  },
  "hsl": {
    "h": 264.27,
    "s": 74.79,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74283,
    "c": 0.13021,
    "h": 301.9
  },
  "luminance": 0.38989
}

Semantic roles & 50–950 ramp

primary
#BB97F0
secondary
#E8F3D8
accent
#D70F86
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB97F0

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

Preview Lab → · Contrast checker → · Palette generator →

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