#BB99FC#BB99FC

#BB99FC is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.2% C 0.142 H 298.8°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#BB99FC
RGBrgb(187, 153, 252)
HSLhsl(261, 94%, 79%)
HSVhsv(261, 39%, 99%)
CMYKcmyk(25.8%, 39.3%, 0%, 1.2%)
CIE-LABlab(69.74, 32.59, -44.80)
CIE-LCHlch(69.74, 55.40, 306.04°)
OKLaboklab(75.21% 0.0685 -0.1249)
OKLCHoklch(75.21% 0.142 298.8)
XYZxyz(49.4514, 40.3752, 97.2645)
Luminance0.4038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99FC #DAFC99
analogous
#99A9FC #BB99FC #ED99FC
triadic
#BB99FC #FCBB99 #99FCBB
tetradic
#BB99FC #FC99A9 #DAFC99 #99FCED
square
#BB99FC #FC99A9 #DAFC99 #99FCED
split-complementary
#BB99FC #FCED99 #A9FC99
monochromatic
#6C22F9 #935EFA #BB99FC #E3D4FE #EBE1FE

Accessibility & contrast

On white

2.31
#BB99FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#BB99FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99FC
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99FC#FFFFFF#000000##000000
##BB99FC1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFF
Deuteranopia (green-blind)
#85AAF9
Tritanopia (blue-blind)
#AEAABF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb99fc;
/* rgb */ color: rgb(187, 153, 252);
/* oklch */ color: oklch(75.2% 0.142 298.8);
Tailwind
colors: {
  custom: {
    50: '#d1b7fe',
    500: '#bb99fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb99fc;
$custom-light: #d1b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99fc",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 252
  },
  "hsl": {
    "h": 260.606,
    "s": 94.286,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7521,
    "c": 0.14249,
    "h": 298.8
  },
  "luminance": 0.40376
}

Semantic roles & 50–950 ramp

primary
#BB99FC
secondary
#EBF6D5
accent
#E60097
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB99FC

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

Preview Lab → · Contrast checker → · Palette generator →

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