#BB98F2#BB98F2

#BB98F2 is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.6% C 0.131 H 301.2°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#BB98F2
RGBrgb(187, 152, 242)
HSLhsl(263, 78%, 77%)
HSVhsv(263, 37%, 95%)
CMYKcmyk(22.7%, 37.2%, 0%, 5.1%)
CIE-LABlab(69.06, 30.82, -40.40)
CIE-LCHlch(69.06, 50.81, 307.34°)
OKLaboklab(74.56% 0.0679 -0.1122)
OKLCHoklch(74.56% 0.131 301.2)
XYZxyz(47.7453, 39.4320, 89.0830)
Luminance0.3943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB98F2 #CFF298
analogous
#98A2F2 #BB98F2 #E898F2
triadic
#BB98F2 #F2BB98 #98F2BB
tetradic
#BB98F2 #F298A2 #CFF298 #98F2E8
square
#BB98F2 #F298A2 #CFF298 #98F2E8
split-complementary
#BB98F2 #F2E898 #A2F298
monochromatic
#732BE4 #9762EB #BB98F2 #DFCEF9 #EDE4FC

Accessibility & contrast

On white

2.36
#BB98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#BB98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB98F2
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB98F2#FFFFFF#000000##000000
##BB98F21.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A8F5
Deuteranopia (green-blind)
#89A8F0
Tritanopia (blue-blind)
#B1A7BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bb98f2;
/* rgb */ color: rgb(187, 152, 242);
/* oklch */ color: oklch(74.6% 0.131 301.2);
Tailwind
colors: {
  custom: {
    50: '#d1b6f6',
    500: '#bb98f2',
    950: '#000000',
  },
}
SCSS
$custom: #bb98f2;
$custom-light: #d1b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb98f2",
  "rgb": {
    "r": 187,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 263.333,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74555,
    "c": 0.13116,
    "h": 301.2
  },
  "luminance": 0.39432
}

Semantic roles & 50–950 ramp

primary
#BB98F2
secondary
#E9F3D8
accent
#DA0C8A
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #BB98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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