#BB98CE#BB98CE

#BB98CE is a light, moderate violet. Relative luminance 0.375; OKLCH L 73.0% C 0.085 H 313.5°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#BB98CE
RGBrgb(187, 152, 206)
HSLhsl(279, 36%, 70%)
HSVhsv(279, 26%, 81%)
CMYKcmyk(9.2%, 26.2%, 0%, 19.2%)
CIE-LABlab(67.63, 22.93, -22.77)
CIE-LCHlch(67.63, 32.32, 315.19°)
OKLaboklab(72.99% 0.0588 -0.062)
OKLCHoklch(72.99% 0.085 313.5)
XYZxyz(42.8605, 37.4781, 63.3567)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98CE #ABCE98
analogous
#A098CE #BB98CE #CE98C6
triadic
#BB98CE #CEBB98 #98CEBB
tetradic
#BB98CE #CEA098 #ABCE98 #98C6CE
square
#BB98CE #CEA098 #ABCE98 #98C6CE
split-complementary
#BB98CE #C6CE98 #98CEA0
monochromatic
#824CA0 #A06FBA #BB98CE #D6C1E2 #F1EAF5

Accessibility & contrast

On white

2.47
#BB98CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#BB98CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98CE
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98CE#FFFFFF#000000##000000
##BB98CE1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A3D0
Deuteranopia (green-blind)
#98A6CC
Tritanopia (blue-blind)
#BA9FAB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb98ce;
/* rgb */ color: rgb(187, 152, 206);
/* oklch */ color: oklch(73.0% 0.085 313.5);
Tailwind
colors: {
  custom: {
    50: '#d0b6dd',
    500: '#bb98ce',
    950: '#000000',
  },
}
SCSS
$custom: #bb98ce;
$custom-light: #d0b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98ce",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 206
  },
  "hsl": {
    "h": 278.889,
    "s": 35.526,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72993,
    "c": 0.08547,
    "h": 313.5
  },
  "luminance": 0.37477
}

Semantic roles & 50–950 ramp

primary
#BB98CE
secondary
#DFE8D9
accent
#AE3761
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB98CE

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

Preview Lab → · Contrast checker → · Palette generator →

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