#BB99F8#BB99F8

#BB99F8 is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.0% C 0.137 H 299.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#BB99F8
RGBrgb(187, 153, 248)
HSLhsl(261, 87%, 79%)
HSVhsv(261, 38%, 97%)
CMYKcmyk(24.6%, 38.3%, 0%, 2.7%)
CIE-LABlab(69.56, 31.65, -42.90)
CIE-LCHlch(69.56, 53.31, 306.42°)
OKLaboklab(75.02% 0.0678 -0.1194)
OKLCHoklch(75.02% 0.137 299.6)
XYZxyz(48.8242, 40.1243, 93.9613)
Luminance0.4012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99F8 #D6F899
analogous
#99A6F8 #BB99F8 #EB99F8
triadic
#BB99F8 #F8BB99 #99F8BB
tetradic
#BB99F8 #F899A6 #D6F899 #99F8EB
square
#BB99F8 #F899A6 #D6F899 #99F8EB
split-complementary
#BB99F8 #F8EB99 #A6F899
monochromatic
#6F26F0 #9560F4 #BB99F8 #E1D2FC #ECE2FD

Accessibility & contrast

On white

2.33
#BB99F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#BB99F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99F8
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99F8#FFFFFF#000000##000000
##BB99F81.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#B0A9BD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb99f8;
/* rgb */ color: rgb(187, 153, 248);
/* oklch */ color: oklch(75.0% 0.137 299.6);
Tailwind
colors: {
  custom: {
    50: '#d1b7fb',
    500: '#bb99f8',
    950: '#000000',
  },
}
SCSS
$custom: #bb99f8;
$custom-light: #d1b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99f8",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 248
  },
  "hsl": {
    "h": 261.474,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75016,
    "c": 0.13732,
    "h": 299.6
  },
  "luminance": 0.40125
}

Semantic roles & 50–950 ramp

primary
#BB99F8
secondary
#EAF5D6
accent
#E40293
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB99F8

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

Preview Lab → · Contrast checker → · Palette generator →

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