#BB99F7#BB99F7

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

Color values

HEX#BB99F7
RGBrgb(187, 153, 247)
HSLhsl(262, 85%, 78%)
HSVhsv(262, 38%, 97%)
CMYKcmyk(24.3%, 38.1%, 0%, 3.1%)
CIE-LABlab(69.51, 31.42, -42.42)
CIE-LCHlch(69.51, 52.79, 306.53°)
OKLaboklab(74.97% 0.0676 -0.118)
OKLCHoklch(74.97% 0.136 299.8)
XYZxyz(48.6695, 40.0624, 93.1464)
Luminance0.4006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB99F7 #D5F799
analogous
#99A6F7 #BB99F7 #EA99F7
triadic
#BB99F7 #F7BB99 #99F7BB
tetradic
#BB99F7 #F799A6 #D5F799 #99F7EA
square
#BB99F7 #F799A6 #D5F799 #99F7EA
split-complementary
#BB99F7 #F7EA99 #A6F799
monochromatic
#6F27EE #9560F3 #BB99F7 #E1D2FB #ECE3FD

Accessibility & contrast

On white

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

On black

9.01
#BB99F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB99F7
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB99F7#FFFFFF#000000##000000
##BB99F71.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFB
Deuteranopia (green-blind)
#88A9F5
Tritanopia (blue-blind)
#B0A9BC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb99f7;
/* rgb */ color: rgb(187, 153, 247);
/* oklch */ color: oklch(75.0% 0.136 299.8);
Tailwind
colors: {
  custom: {
    50: '#d1b7fa',
    500: '#bb99f7',
    950: '#000000',
  },
}
SCSS
$custom: #bb99f7;
$custom-light: #d1b7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb99f7",
  "rgb": {
    "r": 187,
    "g": 153,
    "b": 247
  },
  "hsl": {
    "h": 261.702,
    "s": 85.455,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74968,
    "c": 0.13602,
    "h": 299.8
  },
  "luminance": 0.40063
}

Semantic roles & 50–950 ramp

primary
#BB99F7
secondary
#EAF5D6
accent
#E20492
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB99F7

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

Preview Lab → · Contrast checker → · Palette generator →

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