#BB98E9#BB98E9

#BB98E9 is a light, moderate violet. Relative luminance 0.389; OKLCH L 74.1% C 0.120 H 303.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#BB98E9
RGBrgb(187, 152, 233)
HSLhsl(266, 65%, 75%)
HSVhsv(266, 35%, 91%)
CMYKcmyk(19.7%, 34.8%, 0%, 8.6%)
CIE-LABlab(68.68, 28.76, -36.06)
CIE-LCHlch(68.68, 46.13, 308.58°)
OKLaboklab(74.14% 0.0659 -0.0997)
OKLCHoklch(74.14% 0.12 303.5)
XYZxyz(46.4267, 38.9045, 82.1385)
Luminance0.3890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98E9 #C6E998
analogous
#989DE9 #BB98E9 #E398E9
triadic
#BB98E9 #E9BB98 #98E9BB
tetradic
#BB98E9 #E9989D #C6E998 #98E9E3
square
#BB98E9 #E9989D #C6E998 #98E9E3
split-complementary
#BB98E9 #E9E398 #9DE998
monochromatic
#7833D3 #9A66DE #BB98E9 #DCCAF4 #EEE6FA

Accessibility & contrast

On white

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

On black

8.78
#BB98E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98E9
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98E9#FFFFFF#000000##000000
##BB98E91.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7EC
Deuteranopia (green-blind)
#8DA7E7
Tritanopia (blue-blind)
#B4A4B6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb98e9;
/* rgb */ color: rgb(187, 152, 233);
/* oklch */ color: oklch(74.1% 0.120 303.5);
Tailwind
colors: {
  custom: {
    50: '#d0b6f0',
    500: '#bb98e9',
    950: '#000000',
  },
}
SCSS
$custom: #bb98e9;
$custom-light: #d0b6f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98e9",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 233
  },
  "hsl": {
    "h": 265.926,
    "s": 64.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7414,
    "c": 0.11957,
    "h": 303.5
  },
  "luminance": 0.38904
}

Semantic roles & 50–950 ramp

primary
#BB98E9
secondary
#E7F1DA
accent
#CD197F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB98E9

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

Preview Lab → · Contrast checker → · Palette generator →

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