#BB98CF#BB98CF

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

Color values

HEX#BB98CF
RGBrgb(187, 152, 207)
HSLhsl(278, 36%, 70%)
HSVhsv(278, 27%, 81%)
CMYKcmyk(9.7%, 26.6%, 0%, 18.8%)
CIE-LABlab(67.67, 23.14, -23.27)
CIE-LCHlch(67.67, 32.82, 314.83°)
OKLaboklab(73.03% 0.0591 -0.0634)
OKLCHoklch(73.03% 0.087 313)
XYZxyz(42.9824, 37.5268, 63.9985)
Luminance0.3753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98CF #ACCF98
analogous
#9F98CF #BB98CF #CF98C7
triadic
#BB98CF #CFBB98 #98CFBB
tetradic
#BB98CF #CF9F98 #ACCF98 #98C7CF
square
#BB98CF #CF9F98 #ACCF98 #98C7CF
split-complementary
#BB98CF #C7CF98 #98CF9F
monochromatic
#824BA1 #9F6EBC #BB98CF #D7C2E2 #F1EAF5

Accessibility & contrast

On white

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

On black

8.51
#BB98CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98CF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98CF#FFFFFF#000000##000000
##BB98CF1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A3D1
Deuteranopia (green-blind)
#97A6CD
Tritanopia (blue-blind)
#BA9FAB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb98cf;
/* rgb */ color: rgb(187, 152, 207);
/* oklch */ color: oklch(73.0% 0.087 313.0);
Tailwind
colors: {
  custom: {
    50: '#d0b6dd',
    500: '#bb98cf',
    950: '#000000',
  },
}
SCSS
$custom: #bb98cf;
$custom-light: #d0b6dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98cf",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 207
  },
  "hsl": {
    "h": 278.182,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73033,
    "c": 0.08669,
    "h": 313
  },
  "luminance": 0.37526
}

Semantic roles & 50–950 ramp

primary
#BB98CF
secondary
#DFE9DA
accent
#AF3662
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB98CF

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

Preview Lab → · Contrast checker → · Palette generator →

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