#BB98F9#BB98F9

#BB98F9 is a light, vivid violet. Relative luminance 0.399; OKLCH L 74.9% C 0.140 H 299.6°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#BB98F9
RGBrgb(187, 152, 249)
HSLhsl(262, 89%, 79%)
HSVhsv(262, 39%, 98%)
CMYKcmyk(24.9%, 39%, 0%, 2.4%)
CIE-LABlab(69.37, 32.44, -43.74)
CIE-LCHlch(69.37, 54.46, 306.57°)
OKLaboklab(74.89% 0.0693 -0.1218)
OKLCHoklch(74.89% 0.14 299.6)
XYZxyz(48.8168, 39.8606, 94.7262)
Luminance0.3986 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98F9 #D6F998
analogous
#98A5F9 #BB98F9 #EB98F9
triadic
#BB98F9 #F9BB98 #98F9BB
tetradic
#BB98F9 #F998A5 #D6F998 #98F9EB
square
#BB98F9 #F998A5 #D6F998 #98F9EB
split-complementary
#BB98F9 #F9EB98 #A5F998
monochromatic
#6F24F2 #955EF6 #BB98F9 #E1D2FC #ECE2FD

Accessibility & contrast

On white

2.34
#BB98F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#BB98F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98F9
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98F9#FFFFFF#000000##000000
##BB98F91.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FD
Deuteranopia (green-blind)
#86A9F6
Tritanopia (blue-blind)
#AFA8BD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb98f9;
/* rgb */ color: rgb(187, 152, 249);
/* oklch */ color: oklch(74.9% 0.140 299.6);
Tailwind
colors: {
  custom: {
    50: '#d1b6fb',
    500: '#bb98f9',
    950: '#000000',
  },
}
SCSS
$custom: #bb98f9;
$custom-light: #d1b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98f9",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 249
  },
  "hsl": {
    "h": 261.649,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74888,
    "c": 0.14019,
    "h": 299.6
  },
  "luminance": 0.39861
}

Semantic roles & 50–950 ramp

primary
#BB98F9
secondary
#EAF5D6
accent
#E60093
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB98F9

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

Preview Lab → · Contrast checker → · Palette generator →

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