#BB9EFB#BB9EFB

#BB9EFB is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.0% C 0.133 H 297.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#BB9EFB
RGBrgb(187, 158, 251)
HSLhsl(259, 92%, 80%)
HSVhsv(259, 37%, 98%)
CMYKcmyk(25.5%, 37.1%, 0%, 1.6%)
CIE-LABlab(70.86, 29.58, -42.49)
CIE-LCHlch(70.86, 51.78, 304.84°)
OKLaboklab(76.05% 0.0616 -0.1183)
OKLCHoklch(76.05% 0.133 297.5)
XYZxyz(50.1289, 41.9831, 96.7106)
Luminance0.4198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EFB #DEFB9E
analogous
#9EAFFB #BB9EFB #EA9EFB
triadic
#BB9EFB #FBBB9E #9EFBBB
tetradic
#BB9EFB #FB9EAF #DEFB9E #9EFBEA
square
#BB9EFB #FB9EAF #DEFB9E #9EFBEA
split-complementary
#BB9EFB #FBEA9E #AFFB9E
monochromatic
#6928F6 #9263F9 #BB9EFB #E4D9FD #EAE2FE

Accessibility & contrast

On white

2.23
#BB9EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#BB9EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EFB
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EFB#FFFFFF#000000##000000
##BB9EFB1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#8BACF9
Tritanopia (blue-blind)
#AEAEC1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9efb;
/* rgb */ color: rgb(187, 158, 251);
/* oklch */ color: oklch(76.0% 0.133 297.5);
Tailwind
colors: {
  custom: {
    50: '#d1bbfd',
    500: '#bb9efb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9efb;
$custom-light: #d1bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9efb",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 251
  },
  "hsl": {
    "h": 258.71,
    "s": 92.079,
    "l": 80.196
  },
  "oklch": {
    "l": 0.76048,
    "c": 0.13333,
    "h": 297.5
  },
  "luminance": 0.41984
}

Semantic roles & 50–950 ramp

primary
#BB9EFB
secondary
#ECF6D5
accent
#E6009E
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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