#BB98FF#BB98FF

#BB98FF is a light, vivid violet. Relative luminance 0.402; OKLCH L 75.2% C 0.148 H 298.4°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BB98FF
RGBrgb(187, 152, 255)
HSLhsl(260, 100%, 80%)
HSVhsv(260, 40%, 100%)
CMYKcmyk(26.7%, 40.4%, 0%, 0%)
CIE-LABlab(69.64, 33.86, -46.58)
CIE-LCHlch(69.64, 57.58, 306.02°)
OKLaboklab(75.18% 0.0704 -0.1301)
OKLCHoklch(75.18% 0.148 298.4)
XYZxyz(49.7676, 40.2409, 99.7337)
Luminance0.4024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98FF #DCFF98
analogous
#98A9FF #BB98FF #EE98FF
triadic
#BB98FF #FFBB98 #98FFBB
tetradic
#BB98FF #FF98A9 #DCFF98 #98FFEE
square
#BB98FF #FF98A9 #DCFF98 #98FFEE
split-complementary
#BB98FF #FFEE98 #A9FF98
monochromatic
#6A1EFF #935BFF #BB98FF #E3D5FF #EBE0FF

Accessibility & contrast

On white

2.32
#BB98FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#BB98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98FF
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98FF#FFFFFF#000000##000000
##BB98FF1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#82A9FC
Tritanopia (blue-blind)
#AEAABF
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb98ff;
/* rgb */ color: rgb(187, 152, 255);
/* oklch */ color: oklch(75.2% 0.148 298.4);
Tailwind
colors: {
  custom: {
    50: '#d1b6ff',
    500: '#bb98ff',
    950: '#000000',
  },
}
SCSS
$custom: #bb98ff;
$custom-light: #d1b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98ff",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 260.388,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.75182,
    "c": 0.14792,
    "h": 298.4
  },
  "luminance": 0.40241
}

Semantic roles & 50–950 ramp

primary
#BB98FF
secondary
#EBF7D4
accent
#E60098
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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