#BB98F4#BB98F4

#BB98F4 is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.6% C 0.134 H 300.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#BB98F4
RGBrgb(187, 152, 244)
HSLhsl(263, 81%, 78%)
HSVhsv(263, 38%, 96%)
CMYKcmyk(23.4%, 37.7%, 0%, 4.3%)
CIE-LABlab(69.15, 31.28, -41.35)
CIE-LCHlch(69.15, 51.85, 307.10°)
OKLaboklab(74.65% 0.0683 -0.115)
OKLCHoklch(74.65% 0.134 300.7)
XYZxyz(48.0473, 39.5528, 90.6736)
Luminance0.3955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98F4 #D1F498
analogous
#98A3F4 #BB98F4 #E998F4
triadic
#BB98F4 #F4BB98 #98F4BB
tetradic
#BB98F4 #F498A3 #D1F498 #98F4E9
square
#BB98F4 #F498A3 #D1F498 #98F4E9
split-complementary
#BB98F4 #F4E998 #A3F498
monochromatic
#7229E8 #9661EE #BB98F4 #E0CFFA #EDE3FC

Accessibility & contrast

On white

2.36
#BB98F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#BB98F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98F4
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98F4#FFFFFF#000000##000000
##BB98F41.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A8F8
Deuteranopia (green-blind)
#88A8F2
Tritanopia (blue-blind)
#B1A7BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb98f4;
/* rgb */ color: rgb(187, 152, 244);
/* oklch */ color: oklch(74.6% 0.134 300.7);
Tailwind
colors: {
  custom: {
    50: '#d1b6f8',
    500: '#bb98f4',
    950: '#000000',
  },
}
SCSS
$custom: #bb98f4;
$custom-light: #d1b6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98f4",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 244
  },
  "hsl": {
    "h": 262.826,
    "s": 80.702,
    "l": 77.647
  },
  "oklch": {
    "l": 0.74649,
    "c": 0.13375,
    "h": 300.7
  },
  "luminance": 0.39553
}

Semantic roles & 50–950 ramp

primary
#BB98F4
secondary
#E9F4D7
accent
#DD088C
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB98F4

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

Preview Lab → · Contrast checker → · Palette generator →

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