#BB98EE#BB98EE

#BB98EE is a light, vivid violet. Relative luminance 0.392; OKLCH L 74.4% C 0.126 H 302.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#BB98EE
RGBrgb(187, 152, 238)
HSLhsl(264, 72%, 76%)
HSVhsv(264, 36%, 93%)
CMYKcmyk(21.4%, 36.1%, 0%, 6.7%)
CIE-LABlab(68.89, 29.90, -38.48)
CIE-LCHlch(68.89, 48.73, 307.85°)
OKLaboklab(74.37% 0.0671 -0.1067)
OKLCHoklch(74.37% 0.126 302.2)
XYZxyz(47.1511, 39.1943, 85.9536)
Luminance0.3919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98EE #CBEE98
analogous
#98A0EE #BB98EE #E698EE
triadic
#BB98EE #EEBB98 #98EEBB
tetradic
#BB98EE #EE98A0 #CBEE98 #98EEE6
square
#BB98EE #EE98A0 #CBEE98 #98EEE6
split-complementary
#BB98EE #EEE698 #A0EE98
monochromatic
#762FDD #9863E5 #BB98EE #DECDF7 #EEE5FB

Accessibility & contrast

On white

2.38
#BB98EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#BB98EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98EE
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98EE#FFFFFF#000000##000000
##BB98EE1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7F1
Deuteranopia (green-blind)
#8BA8EC
Tritanopia (blue-blind)
#B2A6B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb98ee;
/* rgb */ color: rgb(187, 152, 238);
/* oklch */ color: oklch(74.4% 0.126 302.2);
Tailwind
colors: {
  custom: {
    50: '#d1b6f4',
    500: '#bb98ee',
    950: '#000000',
  },
}
SCSS
$custom: #bb98ee;
$custom-light: #d1b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98ee",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 264.419,
    "s": 71.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74368,
    "c": 0.12601,
    "h": 302.2
  },
  "luminance": 0.39194
}

Semantic roles & 50–950 ramp

primary
#BB98EE
secondary
#E8F2D9
accent
#D41285
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB98EE

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

Preview Lab → · Contrast checker → · Palette generator →

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