#BB97FF#BB97FF

#BB97FF is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.0% C 0.149 H 298.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#BB97FF
RGBrgb(187, 151, 255)
HSLhsl(261, 100%, 80%)
HSVhsv(261, 41%, 100%)
CMYKcmyk(26.7%, 40.8%, 0%, 0%)
CIE-LABlab(69.41, 34.41, -46.94)
CIE-LCHlch(69.41, 58.20, 306.25°)
OKLaboklab(75.01% 0.0718 -0.1311)
OKLCHoklch(75.01% 0.149 298.7)
XYZxyz(49.6059, 39.9177, 99.6798)
Luminance0.3992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97FF #DBFF97
analogous
#97A7FF #BB97FF #EF97FF
triadic
#BB97FF #FFBB97 #97FFBB
tetradic
#BB97FF #FF97A7 #DBFF97 #97FFEF
square
#BB97FF #FF97A7 #DBFF97 #97FFEF
split-complementary
#BB97FF #FFEF97 #A7FF97
monochromatic
#6B1DFF #935AFF #BB97FF #E3D4FF #EBE0FF

Accessibility & contrast

On white

2.34
#BB97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#BB97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97FF
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97FF#FFFFFF#000000##000000
##BB97FF1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BAAFF
Deuteranopia (green-blind)
#81A9FC
Tritanopia (blue-blind)
#AEA9BF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb97ff;
/* rgb */ color: rgb(187, 151, 255);
/* oklch */ color: oklch(75.0% 0.149 298.7);
Tailwind
colors: {
  custom: {
    50: '#d1b6ff',
    500: '#bb97ff',
    950: '#000000',
  },
}
SCSS
$custom: #bb97ff;
$custom-light: #d1b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97ff",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 260.769,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75008,
    "c": 0.14948,
    "h": 298.7
  },
  "luminance": 0.39918
}

Semantic roles & 50–950 ramp

primary
#BB97FF
secondary
#EBF7D4
accent
#E60096
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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