#BB98E4#BB98E4

#BB98E4 is a light, moderate violet. Relative luminance 0.386; OKLCH L 73.9% C 0.113 H 304.9°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#BB98E4
RGBrgb(187, 152, 228)
HSLhsl(268, 58%, 75%)
HSVhsv(268, 33%, 89%)
CMYKcmyk(18%, 33.3%, 0%, 10.6%)
CIE-LABlab(68.48, 27.65, -33.63)
CIE-LCHlch(68.48, 43.54, 309.42°)
OKLaboklab(73.92% 0.0648 -0.0928)
OKLCHoklch(73.92% 0.113 304.9)
XYZxyz(45.7225, 38.6229, 78.4300)
Luminance0.3862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98E4 #C1E498
analogous
#989BE4 #BB98E4 #E198E4
triadic
#BB98E4 #E4BB98 #98E4BB
tetradic
#BB98E4 #E4989B #C1E498 #98E4E1
square
#BB98E4 #E4989B #C1E498 #98E4E1
split-complementary
#BB98E4 #E4E198 #9BE498
monochromatic
#7B37CB #9B68D7 #BB98E4 #DBC8F1 #EFE7F9

Accessibility & contrast

On white

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

On black

8.72
#BB98E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98E4
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98E4#FFFFFF#000000##000000
##BB98E41.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A6E7
Deuteranopia (green-blind)
#8FA7E2
Tritanopia (blue-blind)
#B5A3B4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bb98e4;
/* rgb */ color: rgb(187, 152, 228);
/* oklch */ color: oklch(73.9% 0.113 304.9);
Tailwind
colors: {
  custom: {
    50: '#d0b6ec',
    500: '#bb98e4',
    950: '#000000',
  },
}
SCSS
$custom: #bb98e4;
$custom-light: #d0b6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98e4",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 228
  },
  "hsl": {
    "h": 267.632,
    "s": 58.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73916,
    "c": 0.11315,
    "h": 304.9
  },
  "luminance": 0.38623
}

Semantic roles & 50–950 ramp

primary
#BB98E4
secondary
#E6F0DB
accent
#C61F79
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB98E4

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

Preview Lab → · Contrast checker → · Palette generator →

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