#BB98EA#BB98EA

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

Color values

HEX#BB98EA
RGBrgb(187, 152, 234)
HSLhsl(266, 66%, 76%)
HSVhsv(266, 35%, 92%)
CMYKcmyk(20.1%, 35%, 0%, 8.2%)
CIE-LABlab(68.72, 28.99, -36.55)
CIE-LCHlch(68.72, 46.65, 308.42°)
OKLaboklab(74.19% 0.0662 -0.1011)
OKLCHoklch(74.19% 0.121 303.2)
XYZxyz(46.5699, 38.9618, 82.8929)
Luminance0.3896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98EA #C7EA98
analogous
#989EEA #BB98EA #E498EA
triadic
#BB98EA #EABB98 #98EABB
tetradic
#BB98EA #EA989E #C7EA98 #98EAE4
square
#BB98EA #EA989E #C7EA98 #98EAE4
split-complementary
#BB98EA #EAE498 #9EEA98
monochromatic
#7832D5 #9965E0 #BB98EA #DDCBF4 #EEE6FA

Accessibility & contrast

On white

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

On black

8.79
#BB98EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98EA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98EA#FFFFFF#000000##000000
##BB98EA1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7ED
Deuteranopia (green-blind)
#8DA8E8
Tritanopia (blue-blind)
#B3A5B6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bb98ea;
/* rgb */ color: rgb(187, 152, 234);
/* oklch */ color: oklch(74.2% 0.121 303.2);
Tailwind
colors: {
  custom: {
    50: '#d0b6f1',
    500: '#bb98ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb98ea;
$custom-light: #d0b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98ea",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 265.61,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74185,
    "c": 0.12085,
    "h": 303.2
  },
  "luminance": 0.38962
}

Semantic roles & 50–950 ramp

primary
#BB98EA
secondary
#E7F1DA
accent
#CE1880
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB98EA

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

Preview Lab → · Contrast checker → · Palette generator →

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