#BB98C2#BB98C2

#BB98C2 is a light, moderate purple. Relative luminance 0.369; OKLCH L 72.5% C 0.071 H 320.7°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#BB98C2
RGBrgb(187, 152, 194)
HSLhsl(290, 26%, 68%)
HSVhsv(290, 22%, 76%)
CMYKcmyk(3.6%, 21.6%, 0%, 23.9%)
CIE-LABlab(67.21, 20.51, -16.74)
CIE-LCHlch(67.21, 26.47, 320.78°)
OKLaboklab(72.53% 0.0551 -0.0452)
OKLCHoklch(72.53% 0.071 320.7)
XYZxyz(41.4580, 36.9171, 55.9702)
Luminance0.3692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98C2 #9FC298
analogous
#A698C2 #BB98C2 #C298B4
triadic
#BB98C2 #C2BB98 #98C2BB
tetradic
#BB98C2 #C2A698 #9FC298 #98B4C2
square
#BB98C2 #C2A698 #9FC298 #98B4C2
split-complementary
#BB98C2 #B4C298 #98C2A6
monochromatic
#83538C #A272AB #BB98C2 #D4BED9 #EEE5F0

Accessibility & contrast

On white

2.51
#BB98C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#BB98C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98C2
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98C2#FFFFFF#000000##000000
##BB98C21.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94A1C4
Deuteranopia (green-blind)
#9BA5C1
Tritanopia (blue-blind)
#BC9CA6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bb98c2;
/* rgb */ color: rgb(187, 152, 194);
/* oklch */ color: oklch(72.5% 0.071 320.7);
Tailwind
colors: {
  custom: {
    50: '#cfb6d4',
    500: '#bb98c2',
    950: '#000000',
  },
}
SCSS
$custom: #bb98c2;
$custom-light: #cfb6d4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98c2",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 194
  },
  "hsl": {
    "h": 290,
    "s": 25.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72532,
    "c": 0.07126,
    "h": 320.7
  },
  "luminance": 0.36916
}

Semantic roles & 50–950 ramp

primary
#BB98C2
secondary
#D7E1D4
accent
#A44152
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#141114
muted
#828083

Preview Lab

Preview with #BB98C2

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

Preview Lab → · Contrast checker → · Palette generator →

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