#BB98EF#BB98EF

#BB98EF is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.4% C 0.127 H 301.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#BB98EF
RGBrgb(187, 152, 239)
HSLhsl(264, 73%, 77%)
HSVhsv(264, 36%, 94%)
CMYKcmyk(21.8%, 36.4%, 0%, 6.3%)
CIE-LABlab(68.93, 30.13, -38.96)
CIE-LCHlch(68.93, 49.25, 307.72°)
OKLaboklab(74.41% 0.0673 -0.1081)
OKLCHoklch(74.41% 0.127 301.9)
XYZxyz(47.2984, 39.2532, 86.7294)
Luminance0.3925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98EF #CCEF98
analogous
#98A1EF #BB98EF #E798EF
triadic
#BB98EF #EFBB98 #98EFBB
tetradic
#BB98EF #EF98A1 #CCEF98 #98EFE7
square
#BB98EF #EF98A1 #CCEF98 #98EFE7
split-complementary
#BB98EF #EFE798 #A1EF98
monochromatic
#752EDF #9863E7 #BB98EF #DECDF7 #EEE5FB

Accessibility & contrast

On white

2.37
#BB98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#BB98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98EF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98EF#FFFFFF#000000##000000
##BB98EF1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb98ef;
/* rgb */ color: rgb(187, 152, 239);
/* oklch */ color: oklch(74.4% 0.127 301.9);
Tailwind
colors: {
  custom: {
    50: '#d1b6f4',
    500: '#bb98ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb98ef;
$custom-light: #d1b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98ef",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 264.138,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74414,
    "c": 0.12729,
    "h": 301.9
  },
  "luminance": 0.39253
}

Semantic roles & 50–950 ramp

primary
#BB98EF
secondary
#E8F3D8
accent
#D51086
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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