#BB9DFB#BB9DFB

#BB9DFB is a light, vivid violet. Relative luminance 0.416; OKLCH L 75.9% C 0.135 H 297.8°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#BB9DFB
RGBrgb(187, 157, 251)
HSLhsl(259, 92%, 80%)
HSVhsv(259, 37%, 98%)
CMYKcmyk(25.5%, 37.5%, 0%, 1.6%)
CIE-LABlab(70.62, 30.14, -42.86)
CIE-LCHlch(70.62, 52.40, 305.11°)
OKLaboklab(75.87% 0.0629 -0.1193)
OKLCHoklch(75.87% 0.135 297.8)
XYZxyz(49.9590, 41.6434, 96.6540)
Luminance0.4164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DFB #DDFB9D
analogous
#9DAEFB #BB9DFB #EA9DFB
triadic
#BB9DFB #FBBB9D #9DFBBB
tetradic
#BB9DFB #FB9DAE #DDFB9D #9DFBEA
square
#BB9DFB #FB9DAE #DDFB9D #9DFBEA
split-complementary
#BB9DFB #FBEA9D #AEFB9D
monochromatic
#6927F6 #9262F9 #BB9DFB #E4D8FD #EBE2FE

Accessibility & contrast

On white

2.25
#BB9DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#BB9DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DFB
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DFB#FFFFFF#000000##000000
##BB9DFB1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#8AACF9
Tritanopia (blue-blind)
#AEADC0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9dfb;
/* rgb */ color: rgb(187, 157, 251);
/* oklch */ color: oklch(75.9% 0.135 297.8);
Tailwind
colors: {
  custom: {
    50: '#d1bafd',
    500: '#bb9dfb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9dfb;
$custom-light: #d1bafd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9dfb",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 251
  },
  "hsl": {
    "h": 259.149,
    "s": 92.157,
    "l": 80
  },
  "oklch": {
    "l": 0.7587,
    "c": 0.1349,
    "h": 297.8
  },
  "luminance": 0.41644
}

Semantic roles & 50–950 ramp

primary
#BB9DFB
secondary
#EBF6D5
accent
#E6009C
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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