#BB98CD#BB98CD

#BB98CD is a light, moderate violet. Relative luminance 0.374; OKLCH L 73.0% C 0.084 H 314.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#BB98CD
RGBrgb(187, 152, 205)
HSLhsl(280, 35%, 70%)
HSVhsv(280, 26%, 80%)
CMYKcmyk(8.8%, 25.9%, 0%, 19.6%)
CIE-LABlab(67.60, 22.72, -22.27)
CIE-LCHlch(67.60, 31.82, 315.57°)
OKLaboklab(72.95% 0.0585 -0.0606)
OKLCHoklch(72.95% 0.084 314)
XYZxyz(42.7394, 37.4296, 62.7189)
Luminance0.3743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98CD #AACD98
analogous
#A198CD #BB98CD #CD98C4
triadic
#BB98CD #CDBB98 #98CDBB
tetradic
#BB98CD #CDA198 #AACD98 #98C4CD
square
#BB98CD #CDA198 #AACD98 #98C4CD
split-complementary
#BB98CD #C4CD98 #98CDA1
monochromatic
#824D9E #A06FB9 #BB98CD #D6C1E1 #F1EAF5

Accessibility & contrast

On white

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

On black

8.49
#BB98CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98CD
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98CD#FFFFFF#000000##000000
##BB98CD1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3CF
Deuteranopia (green-blind)
#98A6CB
Tritanopia (blue-blind)
#BA9EAB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bb98cd;
/* rgb */ color: rgb(187, 152, 205);
/* oklch */ color: oklch(73.0% 0.084 314.0);
Tailwind
colors: {
  custom: {
    50: '#d0b6dc',
    500: '#bb98cd',
    950: '#000000',
  },
}
SCSS
$custom: #bb98cd;
$custom-light: #d0b6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98cd",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 205
  },
  "hsl": {
    "h": 279.623,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.72953,
    "c": 0.08425,
    "h": 314
  },
  "luminance": 0.37429
}

Semantic roles & 50–950 ramp

primary
#BB98CD
secondary
#DEE8D9
accent
#AD3860
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BB98CD

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

Preview Lab → · Contrast checker → · Palette generator →

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