#BB98DF#BB98DF

#BB98DF is a light, moderate violet. Relative luminance 0.383; OKLCH L 73.7% C 0.107 H 306.5°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#BB98DF
RGBrgb(187, 152, 223)
HSLhsl(270, 53%, 74%)
HSVhsv(270, 32%, 87%)
CMYKcmyk(16.1%, 31.8%, 0%, 12.5%)
CIE-LABlab(68.28, 26.54, -31.19)
CIE-LCHlch(68.28, 40.96, 310.40°)
OKLaboklab(73.7% 0.0635 -0.0858)
OKLCHoklch(73.7% 0.107 306.5)
XYZxyz(45.0385, 38.3493, 74.8272)
Luminance0.3835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98DF #BCDF98
analogous
#9898DF #BB98DF #DE98DF
triadic
#BB98DF #DFBB98 #98DFBB
tetradic
#BB98DF #DF9898 #BCDF98 #98DFDE
square
#BB98DF #DF9898 #BCDF98 #98DFDE
split-complementary
#BB98DF #DFDE98 #98DF98
monochromatic
#7D3CC1 #9C69D0 #BB98DF #DAC7EE #F0E8F8

Accessibility & contrast

On white

2.42
#BB98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#BB98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98DF
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98DF#FFFFFF#000000##000000
##BB98DF1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA5E2
Deuteranopia (green-blind)
#91A7DD
Tritanopia (blue-blind)
#B6A2B2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb98df;
/* rgb */ color: rgb(187, 152, 223);
/* oklch */ color: oklch(73.7% 0.107 306.5);
Tailwind
colors: {
  custom: {
    50: '#d0b6e9',
    500: '#bb98df',
    950: '#000000',
  },
}
SCSS
$custom: #bb98df;
$custom-light: #d0b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98df",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 269.577,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73698,
    "c": 0.10676,
    "h": 306.5
  },
  "luminance": 0.38349
}

Semantic roles & 50–950 ramp

primary
#BB98DF
secondary
#E6EFDC
accent
#C02574
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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