#BB99FA#BB99FA

#BB99FA is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.1% C 0.140 H 299.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BB99FA
RGBrgb(187, 153, 250)
HSLhsl(261, 91%, 79%)
HSVhsv(261, 39%, 98%)
CMYKcmyk(25.2%, 38.8%, 0%, 2%)
CIE-LABlab(69.65, 32.12, -43.85)
CIE-LCHlch(69.65, 54.36, 306.23°)
OKLaboklab(75.11% 0.0682 -0.1222)
OKLCHoklch(75.11% 0.14 299.2)
XYZxyz(49.1361, 40.2491, 95.6041)
Luminance0.4025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99FA #D8FA99
analogous
#99A8FA #BB99FA #EC99FA
triadic
#BB99FA #FABB99 #99FABB
tetradic
#BB99FA #FA99A8 #D8FA99 #99FAEC
square
#BB99FA #FA99A8 #D8FA99 #99FAEC
split-complementary
#BB99FA #FAEC99 #A8FA99
monochromatic
#6D24F4 #945FF7 #BB99FA #E2D3FD #ECE2FE

Accessibility & contrast

On white

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

On black

9.05
#BB99FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99FA
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99FA#FFFFFF#000000##000000
##BB99FA1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80AAFE
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#AFA9BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb99fa;
/* rgb */ color: rgb(187, 153, 250);
/* oklch */ color: oklch(75.1% 0.140 299.2);
Tailwind
colors: {
  custom: {
    50: '#d1b7fc',
    500: '#bb99fa',
    950: '#000000',
  },
}
SCSS
$custom: #bb99fa;
$custom-light: #d1b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99fa",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 250
  },
  "hsl": {
    "h": 261.031,
    "s": 90.654,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75113,
    "c": 0.13991,
    "h": 299.2
  },
  "luminance": 0.40249
}

Semantic roles & 50–950 ramp

primary
#BB99FA
secondary
#EAF6D5
accent
#E60095
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB99FA

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

Preview Lab → · Contrast checker → · Palette generator →

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