#BB98E2#BB98E2

#BB98E2 is a light, moderate violet. Relative luminance 0.385; OKLCH L 73.8% C 0.111 H 305.5°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#BB98E2
RGBrgb(187, 152, 226)
HSLhsl(268, 56%, 74%)
HSVhsv(268, 33%, 89%)
CMYKcmyk(17.3%, 32.7%, 0%, 11.4%)
CIE-LABlab(68.40, 27.20, -32.66)
CIE-LCHlch(68.40, 42.50, 309.80°)
OKLaboklab(73.83% 0.0643 -0.09)
OKLCHoklch(73.83% 0.111 305.5)
XYZxyz(45.4465, 38.5125, 76.9762)
Luminance0.3851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98E2 #BFE298
analogous
#989AE2 #BB98E2 #E098E2
triadic
#BB98E2 #E2BB98 #98E2BB
tetradic
#BB98E2 #E2989A #BFE298 #98E2E0
square
#BB98E2 #E2989A #BFE298 #98E2E0
split-complementary
#BB98E2 #E2E098 #9AE298
monochromatic
#7C38C7 #9B68D5 #BB98E2 #DBC8EF #EFE7F8

Accessibility & contrast

On white

2.41
#BB98E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#BB98E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98E2
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98E2#FFFFFF#000000##000000
##BB98E21.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A6E5
Deuteranopia (green-blind)
#90A7E0
Tritanopia (blue-blind)
#B5A3B3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb98e2;
/* rgb */ color: rgb(187, 152, 226);
/* oklch */ color: oklch(73.8% 0.111 305.5);
Tailwind
colors: {
  custom: {
    50: '#d0b6eb',
    500: '#bb98e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb98e2;
$custom-light: #d0b6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98e2",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 226
  },
  "hsl": {
    "h": 268.378,
    "s": 56.061,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73828,
    "c": 0.11059,
    "h": 305.5
  },
  "luminance": 0.38512
}

Semantic roles & 50–950 ramp

primary
#BB98E2
secondary
#E6F0DB
accent
#C42277
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB98E2

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

Preview Lab → · Contrast checker → · Palette generator →

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