#BB98D2#BB98D2

#BB98D2 is a light, moderate violet. Relative luminance 0.377; OKLCH L 73.2% C 0.090 H 311.6°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#BB98D2
RGBrgb(187, 152, 210)
HSLhsl(276, 39%, 71%)
HSVhsv(276, 28%, 82%)
CMYKcmyk(11%, 27.6%, 0%, 17.6%)
CIE-LABlab(67.78, 23.76, -24.77)
CIE-LCHlch(67.78, 34.32, 313.81°)
OKLaboklab(73.15% 0.06 -0.0676)
OKLCHoklch(73.15% 0.09 311.6)
XYZxyz(43.3526, 37.6749, 65.9484)
Luminance0.3767 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98D2 #AFD298
analogous
#9E98D2 #BB98D2 #D298CC
triadic
#BB98D2 #D2BB98 #98D2BB
tetradic
#BB98D2 #D29E98 #AFD298 #98CCD2
square
#BB98D2 #D29E98 #AFD298 #98CCD2
split-complementary
#BB98D2 #CCD298 #98D29E
monochromatic
#8249A7 #9F6DBF #BB98D2 #D7C3E5 #F1EAF6

Accessibility & contrast

On white

2.46
#BB98D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#BB98D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98D2
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98D2#FFFFFF#000000##000000
##BB98D21.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA3D4
Deuteranopia (green-blind)
#96A6D0
Tritanopia (blue-blind)
#B99FAD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb98d2;
/* rgb */ color: rgb(187, 152, 210);
/* oklch */ color: oklch(73.2% 0.090 311.6);
Tailwind
colors: {
  custom: {
    50: '#d0b6e0',
    500: '#bb98d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb98d2;
$custom-light: #d0b6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98d2",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 210
  },
  "hsl": {
    "h": 276.207,
    "s": 39.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73153,
    "c": 0.0904,
    "h": 311.6
  },
  "luminance": 0.37674
}

Semantic roles & 50–950 ramp

primary
#BB98D2
secondary
#E1EBDB
accent
#B23366
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB98D2

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

Preview Lab → · Contrast checker → · Palette generator →

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