#BB98FC#BB98FC

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

Color values

HEX#BB98FC
RGBrgb(187, 152, 252)
HSLhsl(261, 94%, 79%)
HSVhsv(261, 40%, 99%)
CMYKcmyk(25.8%, 39.7%, 0%, 1.2%)
CIE-LABlab(69.50, 33.15, -45.16)
CIE-LCHlch(69.50, 56.02, 306.28°)
OKLaboklab(75.03% 0.0699 -0.126)
OKLCHoklch(75.03% 0.144 299)
XYZxyz(49.2884, 40.0492, 97.2102)
Luminance0.4005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98FC #D9FC98
analogous
#98A7FC #BB98FC #ED98FC
triadic
#BB98FC #FCBB98 #98FCBB
tetradic
#BB98FC #FC98A7 #D9FC98 #98FCED
square
#BB98FC #FC98A7 #D9FC98 #98FCED
split-complementary
#BB98FC #FCED98 #A7FC98
monochromatic
#6C21F9 #945DFA #BB98FC #E2D3FE #EBE1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB98FC#FFFFFF#000000##000000
##BB98FC1.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)
#7DAAFF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#AEA9BE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb98fc;
/* rgb */ color: rgb(187, 152, 252);
/* oklch */ color: oklch(75.0% 0.144 299.0);
Tailwind
colors: {
  custom: {
    50: '#d1b6fe',
    500: '#bb98fc',
    950: '#000000',
  },
}
SCSS
$custom: #bb98fc;
$custom-light: #d1b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98fc",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 261,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.75034,
    "c": 0.14406,
    "h": 299
  },
  "luminance": 0.4005
}

Semantic roles & 50–950 ramp

primary
#BB98FC
secondary
#EBF6D5
accent
#E60095
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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