#BB99F2#BB99F2

#BB99F2 is a light, vivid violet. Relative luminance 0.398; OKLCH L 74.7% C 0.130 H 300.9°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#BB99F2
RGBrgb(187, 153, 242)
HSLhsl(263, 77%, 77%)
HSVhsv(263, 37%, 95%)
CMYKcmyk(22.7%, 36.8%, 0%, 5.1%)
CIE-LABlab(69.30, 30.26, -40.03)
CIE-LCHlch(69.30, 50.18, 307.09°)
OKLaboklab(74.73% 0.0665 -0.1112)
OKLCHoklch(74.73% 0.13 300.9)
XYZxyz(47.9083, 39.7579, 89.1373)
Luminance0.3976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99F2 #D0F299
analogous
#99A4F2 #BB99F2 #E799F2
triadic
#BB99F2 #F2BB99 #99F2BB
tetradic
#BB99F2 #F299A4 #D0F299 #99F2E7
square
#BB99F2 #F299A4 #D0F299 #99F2E7
split-complementary
#BB99F2 #F2E799 #A4F299
monochromatic
#732CE4 #9763EB #BB99F2 #DFCFF9 #EDE4FC

Accessibility & contrast

On white

2.35
#BB99F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#BB99F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99F2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99F2#FFFFFF#000000##000000
##BB99F21.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A9F5
Deuteranopia (green-blind)
#8AA9F0
Tritanopia (blue-blind)
#B1A7BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb99f2;
/* rgb */ color: rgb(187, 153, 242);
/* oklch */ color: oklch(74.7% 0.130 300.9);
Tailwind
colors: {
  custom: {
    50: '#d1b7f6',
    500: '#bb99f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb99f2;
$custom-light: #d1b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99f2",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 262.921,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.74732,
    "c": 0.12955,
    "h": 300.9
  },
  "luminance": 0.39758
}

Semantic roles & 50–950 ramp

primary
#BB99F2
secondary
#E9F3D8
accent
#DA0C8B
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #BB99F2

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

Preview Lab → · Contrast checker → · Palette generator →

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