#BB98DD#BB98DD

#BB98DD is a light, moderate violet. Relative luminance 0.382; OKLCH L 73.6% C 0.104 H 307.2°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#BB98DD
RGBrgb(187, 152, 221)
HSLhsl(270, 50%, 73%)
HSVhsv(270, 31%, 87%)
CMYKcmyk(15.4%, 31.2%, 0%, 13.3%)
CIE-LABlab(68.20, 26.11, -30.21)
CIE-LCHlch(68.20, 39.93, 310.84°)
OKLaboklab(73.61% 0.063 -0.083)
OKLCHoklch(73.61% 0.104 307.2)
XYZxyz(44.7704, 38.2420, 73.4155)
Luminance0.3824 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98DD #BADD98
analogous
#9898DD #BB98DD #DD98DC
triadic
#BB98DD #DDBB98 #98DDBB
tetradic
#BB98DD #DD9898 #BADD98 #98DCDD
square
#BB98DD #DD9898 #BADD98 #98DCDD
split-complementary
#BB98DD #DCDD98 #98DD98
monochromatic
#7E3EBC #9D6ACE #BB98DD #D9C6EC #F0E8F7

Accessibility & contrast

On white

2.43
#BB98DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#BB98DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98DD
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98DD#FFFFFF#000000##000000
##BB98DD1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5E0
Deuteranopia (green-blind)
#92A7DB
Tritanopia (blue-blind)
#B6A2B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bb98dd;
/* rgb */ color: rgb(187, 152, 221);
/* oklch */ color: oklch(73.6% 0.104 307.2);
Tailwind
colors: {
  custom: {
    50: '#d0b6e7',
    500: '#bb98dd',
    950: '#000000',
  },
}
SCSS
$custom: #bb98dd;
$custom-light: #d0b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98dd",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 221
  },
  "hsl": {
    "h": 270.435,
    "s": 50.365,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73612,
    "c": 0.10421,
    "h": 307.2
  },
  "luminance": 0.38242
}

Semantic roles & 50–950 ramp

primary
#BB98DD
secondary
#E5EEDD
accent
#BE2872
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB98DD

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

Preview Lab → · Contrast checker → · Palette generator →

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