#BB98DB#BB98DB

#BB98DB is a light, moderate violet. Relative luminance 0.381; OKLCH L 73.5% C 0.102 H 307.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#BB98DB
RGBrgb(187, 152, 219)
HSLhsl(271, 48%, 73%)
HSVhsv(271, 31%, 86%)
CMYKcmyk(14.6%, 30.6%, 0%, 14.1%)
CIE-LABlab(68.12, 25.68, -29.22)
CIE-LCHlch(68.12, 38.90, 311.30°)
OKLaboklab(73.53% 0.0625 -0.0802)
OKLCHoklch(73.53% 0.102 307.9)
XYZxyz(44.5056, 38.1361, 72.0205)
Luminance0.3814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98DB #B8DB98
analogous
#9998DB #BB98DB #DB98D9
triadic
#BB98DB #DBBB98 #98DBBB
tetradic
#BB98DB #DB9998 #B8DB98 #98D9DB
square
#BB98DB #DB9998 #B8DB98 #98D9DB
split-complementary
#BB98DB #D9DB98 #98DB99
monochromatic
#7F40B8 #9D6BCB #BB98DB #D9C5EB #F0E8F7

Accessibility & contrast

On white

2.43
#BB98DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#BB98DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98DB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98DB#FFFFFF#000000##000000
##BB98DB1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DE
Deuteranopia (green-blind)
#93A7D9
Tritanopia (blue-blind)
#B7A1B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb98db;
/* rgb */ color: rgb(187, 152, 219);
/* oklch */ color: oklch(73.5% 0.102 307.9);
Tailwind
colors: {
  custom: {
    50: '#d0b6e6',
    500: '#bb98db',
    950: '#000000',
  },
}
SCSS
$custom: #bb98db;
$custom-light: #d0b6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98db",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 271.343,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73526,
    "c": 0.10167,
    "h": 307.9
  },
  "luminance": 0.38136
}

Semantic roles & 50–950 ramp

primary
#BB98DB
secondary
#E5EEDD
accent
#BB2A6F
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB98DB

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

Preview Lab → · Contrast checker → · Palette generator →

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