#BB97FD#BB97FD

#BB97FD is a light, vivid violet. Relative luminance 0.398; OKLCH L 74.9% C 0.147 H 299.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#BB97FD
RGBrgb(187, 151, 253)
HSLhsl(261, 96%, 79%)
HSVhsv(261, 40%, 99%)
CMYKcmyk(26.1%, 40.3%, 0%, 0.8%)
CIE-LABlab(69.32, 33.94, -45.99)
CIE-LCHlch(69.32, 57.16, 306.42°)
OKLaboklab(74.91% 0.0714 -0.1284)
OKLCHoklch(74.91% 0.147 299.1)
XYZxyz(49.2857, 39.7895, 97.9931)
Luminance0.3979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB97FD #D9FD97
analogous
#97A6FD #BB97FD #EE97FD
triadic
#BB97FD #FDBB97 #97FDBB
tetradic
#BB97FD #FD97A6 #D9FD97 #97FDEE
square
#BB97FD #FD97A6 #D9FD97 #97FDEE
split-complementary
#BB97FD #FDEE97 #A6FD97
monochromatic
#6C1FFB #945BFC #BB97FD #E2D3FE #EBE1FE

Accessibility & contrast

On white

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

On black

8.96
#BB97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB97FD
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB97FD#FFFFFF#000000##000000
##BB97FD1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#AEA8BE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb97fd;
/* rgb */ color: rgb(187, 151, 253);
/* oklch */ color: oklch(74.9% 0.147 299.1);
Tailwind
colors: {
  custom: {
    50: '#d1b6fe',
    500: '#bb97fd',
    950: '#000000',
  },
}
SCSS
$custom: #bb97fd;
$custom-light: #d1b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb97fd",
  "rgb": {
    "r": 187,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 261.176,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74909,
    "c": 0.14691,
    "h": 299.1
  },
  "luminance": 0.3979
}

Semantic roles & 50–950 ramp

primary
#BB97FD
secondary
#EBF7D4
accent
#E60095
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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