#BB98FA#BB98FA

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

Color values

HEX#BB98FA
RGBrgb(187, 152, 250)
HSLhsl(261, 91%, 79%)
HSVhsv(261, 39%, 98%)
CMYKcmyk(25.2%, 39.2%, 0%, 2%)
CIE-LABlab(69.41, 32.68, -44.21)
CIE-LCHlch(69.41, 54.98, 306.47°)
OKLaboklab(74.94% 0.0695 -0.1232)
OKLCHoklch(74.94% 0.141 299.4)
XYZxyz(48.9731, 39.9231, 95.5498)
Luminance0.3992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98FA #D7FA98
analogous
#98A6FA #BB98FA #EC98FA
triadic
#BB98FA #FABB98 #98FABB
tetradic
#BB98FA #FA98A6 #D7FA98 #98FAEC
square
#BB98FA #FA98A6 #D7FA98 #98FAEC
split-complementary
#BB98FA #FAEC98 #A6FA98
monochromatic
#6E23F4 #945EF7 #BB98FA #E2D2FD #ECE2FE

Accessibility & contrast

On white

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

On black

8.98
#BB98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98FA
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98FA#FFFFFF#000000##000000
##BB98FA1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA9FE
Deuteranopia (green-blind)
#85A9F7
Tritanopia (blue-blind)
#AFA9BD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb98fa;
/* rgb */ color: rgb(187, 152, 250);
/* oklch */ color: oklch(74.9% 0.141 299.4);
Tailwind
colors: {
  custom: {
    50: '#d1b6fc',
    500: '#bb98fa',
    950: '#000000',
  },
}
SCSS
$custom: #bb98fa;
$custom-light: #d1b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98fa",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 261.429,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74937,
    "c": 0.14149,
    "h": 299.4
  },
  "luminance": 0.39923
}

Semantic roles & 50–950 ramp

primary
#BB98FA
secondary
#EAF6D5
accent
#E60094
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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