#BB98EB#BB98EB

#BB98EB is a light, vivid violet. Relative luminance 0.390; OKLCH L 74.2% C 0.122 H 302.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#BB98EB
RGBrgb(187, 152, 235)
HSLhsl(265, 67%, 76%)
HSVhsv(265, 35%, 92%)
CMYKcmyk(20.4%, 35.3%, 0%, 7.8%)
CIE-LABlab(68.77, 29.22, -37.03)
CIE-LCHlch(68.77, 47.17, 308.27°)
OKLaboklab(74.23% 0.0664 -0.1025)
OKLCHoklch(74.23% 0.122 302.9)
XYZxyz(46.7140, 39.0195, 83.6517)
Luminance0.3902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98EB #C8EB98
analogous
#989EEB #BB98EB #E498EB
triadic
#BB98EB #EBBB98 #98EBBB
tetradic
#BB98EB #EB989E #C8EB98 #98EBE4
square
#BB98EB #EB989E #C8EB98 #98EBE4
split-complementary
#BB98EB #EBE498 #9EEB98
monochromatic
#7732D7 #9965E1 #BB98EB #DDCBF5 #EEE5FA

Accessibility & contrast

On white

2.39
#BB98EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#BB98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98EB
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98EB#FFFFFF#000000##000000
##BB98EB1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A7EE
Deuteranopia (green-blind)
#8CA8E9
Tritanopia (blue-blind)
#B3A5B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb98eb;
/* rgb */ color: rgb(187, 152, 235);
/* oklch */ color: oklch(74.2% 0.122 302.9);
Tailwind
colors: {
  custom: {
    50: '#d0b6f1',
    500: '#bb98eb',
    950: '#000000',
  },
}
SCSS
$custom: #bb98eb;
$custom-light: #d0b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98eb",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 265.301,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7423,
    "c": 0.12214,
    "h": 302.9
  },
  "luminance": 0.39019
}

Semantic roles & 50–950 ramp

primary
#BB98EB
secondary
#E7F2D9
accent
#CF1681
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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