#BB98FB#BB98FB

#BB98FB is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.0% C 0.143 H 299.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#BB98FB
RGBrgb(187, 152, 251)
HSLhsl(261, 93%, 79%)
HSVhsv(261, 39%, 98%)
CMYKcmyk(25.5%, 39.4%, 0%, 1.6%)
CIE-LABlab(69.46, 32.91, -44.69)
CIE-LCHlch(69.46, 55.50, 306.37°)
OKLaboklab(74.99% 0.0697 -0.1246)
OKLCHoklch(74.99% 0.143 299.2)
XYZxyz(49.1304, 39.9860, 96.3778)
Luminance0.3999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98FB #D8FB98
analogous
#98A7FB #BB98FB #ED98FB
triadic
#BB98FB #FBBB98 #98FBBB
tetradic
#BB98FB #FB98A7 #D8FB98 #98FBED
square
#BB98FB #FB98A7 #D8FB98 #98FBED
split-complementary
#BB98FB #FBED98 #A7FB98
monochromatic
#6D22F6 #945DF9 #BB98FB #E2D3FD #ECE2FE

Accessibility & contrast

On white

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

On black

9.00
#BB98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98FB
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98FB#FFFFFF#000000##000000
##BB98FB1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#85A9F8
Tritanopia (blue-blind)
#AFA9BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb98fb;
/* rgb */ color: rgb(187, 152, 251);
/* oklch */ color: oklch(75.0% 0.143 299.2);
Tailwind
colors: {
  custom: {
    50: '#d1b6fd',
    500: '#bb98fb',
    950: '#000000',
  },
}
SCSS
$custom: #bb98fb;
$custom-light: #d1b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98fb",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 261.212,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74985,
    "c": 0.14277,
    "h": 299.2
  },
  "luminance": 0.39986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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