#BB98DE#BB98DE

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

Color values

HEX#BB98DE
RGBrgb(187, 152, 222)
HSLhsl(270, 51%, 73%)
HSVhsv(270, 32%, 87%)
CMYKcmyk(15.8%, 31.5%, 0%, 12.9%)
CIE-LABlab(68.24, 26.33, -30.70)
CIE-LCHlch(68.24, 40.44, 310.62°)
OKLaboklab(73.65% 0.0633 -0.0844)
OKLCHoklch(73.65% 0.105 306.8)
XYZxyz(44.9041, 38.2955, 74.1192)
Luminance0.3830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98DE #BBDE98
analogous
#9898DE #BB98DE #DE98DE
triadic
#BB98DE #DEBB98 #98DEBB
tetradic
#BB98DE #DE9898 #BBDE98 #98DEDE
square
#BB98DE #DE9898 #BBDE98 #98DEDE
split-complementary
#BB98DE #DEDE98 #98DE98
monochromatic
#7E3DBF #9C6ACF #BB98DE #DAC6ED #F0E8F8

Accessibility & contrast

On white

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

On black

8.66
#BB98DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98DE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98DE#FFFFFF#000000##000000
##BB98DE1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb98de;
/* rgb */ color: rgb(187, 152, 222);
/* oklch */ color: oklch(73.7% 0.105 306.8);
Tailwind
colors: {
  custom: {
    50: '#d0b6e8',
    500: '#bb98de',
    950: '#000000',
  },
}
SCSS
$custom: #bb98de;
$custom-light: #d0b6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98de",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 222
  },
  "hsl": {
    "h": 270,
    "s": 51.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73654,
    "c": 0.10549,
    "h": 306.8
  },
  "luminance": 0.38295
}

Semantic roles & 50–950 ramp

primary
#BB98DE
secondary
#E6EFDC
accent
#BF2773
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB98DE

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

Preview Lab → · Contrast checker → · Palette generator →

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