#BB99FB#BB99FB

#BB99FB is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.2% C 0.141 H 299.0°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#BB99FB
RGBrgb(187, 153, 251)
HSLhsl(261, 92%, 79%)
HSVhsv(261, 39%, 98%)
CMYKcmyk(25.5%, 39%, 0%, 1.6%)
CIE-LABlab(69.69, 32.36, -44.32)
CIE-LCHlch(69.69, 54.88, 306.13°)
OKLaboklab(75.16% 0.0683 -0.1235)
OKLCHoklch(75.16% 0.141 299)
XYZxyz(49.2933, 40.3120, 96.4321)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99FB #D9FB99
analogous
#99A8FB #BB99FB #EC99FB
triadic
#BB99FB #FBBB99 #99FBBB
tetradic
#BB99FB #FB99A8 #D9FB99 #99FBEC
square
#BB99FB #FB99A8 #D9FB99 #99FBEC
split-complementary
#BB99FB #FBEC99 #A8FB99
monochromatic
#6C23F6 #945EF9 #BB99FB #E2D4FD #EBE2FE

Accessibility & contrast

On white

2.32
#BB99FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#BB99FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99FB
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99FB#FFFFFF#000000##000000
##BB99FB1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFF
Deuteranopia (green-blind)
#86A9F8
Tritanopia (blue-blind)
#AFAABE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb99fb;
/* rgb */ color: rgb(187, 153, 251);
/* oklch */ color: oklch(75.2% 0.141 299.0);
Tailwind
colors: {
  custom: {
    50: '#d1b7fd',
    500: '#bb99fb',
    950: '#000000',
  },
}
SCSS
$custom: #bb99fb;
$custom-light: #d1b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99fb",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 260.816,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75161,
    "c": 0.1412,
    "h": 299
  },
  "luminance": 0.40312
}

Semantic roles & 50–950 ramp

primary
#BB99FB
secondary
#EBF6D5
accent
#E60096
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB99FB

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

Preview Lab → · Contrast checker → · Palette generator →

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