#BB9BFB#BB9BFB

#BB9BFB is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.5% C 0.138 H 298.4°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#BB9BFB
RGBrgb(187, 155, 251)
HSLhsl(260, 92%, 80%)
HSVhsv(260, 38%, 98%)
CMYKcmyk(25.5%, 38.2%, 0%, 1.6%)
CIE-LABlab(70.16, 31.25, -43.59)
CIE-LCHlch(70.16, 53.64, 305.63°)
OKLaboklab(75.51% 0.0656 -0.1214)
OKLCHoklch(75.51% 0.138 298.4)
XYZxyz(49.6234, 40.9722, 96.5421)
Luminance0.4097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9BFB #DBFB9B
analogous
#9BABFB #BB9BFB #EB9BFB
triadic
#BB9BFB #FBBB9B #9BFBBB
tetradic
#BB9BFB #FB9BAB #DBFB9B #9BFBEB
square
#BB9BFB #FB9BAB #DBFB9B #9BFBEB
split-complementary
#BB9BFB #FBEB9B #ABFB9B
monochromatic
#6B25F6 #9360F9 #BB9BFB #E3D6FD #EBE2FE

Accessibility & contrast

On white

2.28
#BB9BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#BB9BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9BFB
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9BFB#FFFFFF#000000##000000
##BB9BFB1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#AFABBF
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9bfb;
/* rgb */ color: rgb(187, 155, 251);
/* oklch */ color: oklch(75.5% 0.138 298.4);
Tailwind
colors: {
  custom: {
    50: '#d1b8fd',
    500: '#bb9bfb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9bfb;
$custom-light: #d1b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9bfb",
  "rgb": {
    "r": 187,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 260,
    "s": 92.308,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75514,
    "c": 0.13805,
    "h": 298.4
  },
  "luminance": 0.40973
}

Semantic roles & 50–950 ramp

primary
#BB9BFB
secondary
#EBF6D5
accent
#E60099
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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