#BB9EF9#BB9EF9

#BB9EF9 is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.0% C 0.131 H 297.9°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#BB9EF9
RGBrgb(187, 158, 249)
HSLhsl(259, 88%, 80%)
HSVhsv(259, 37%, 98%)
CMYKcmyk(24.9%, 36.5%, 0%, 2.4%)
CIE-LABlab(70.77, 29.11, -41.54)
CIE-LCHlch(70.77, 50.73, 305.02°)
OKLaboklab(75.95% 0.0611 -0.1155)
OKLCHoklch(75.95% 0.131 297.9)
XYZxyz(49.8153, 41.8577, 95.0590)
Luminance0.4186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EF9 #DCF99E
analogous
#9EAEF9 #BB9EF9 #E99EF9
triadic
#BB9EF9 #F9BB9E #9EF9BB
tetradic
#BB9EF9 #F99EAE #DCF99E #9EF9E9
square
#BB9EF9 #F99EAE #DCF99E #9EF9E9
split-complementary
#BB9EF9 #F9E99E #AEF99E
monochromatic
#6A2BF2 #9364F5 #BB9EF9 #E3D8FD #EBE2FD

Accessibility & contrast

On white

2.24
#BB9EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#BB9EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EF9
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EF9#FFFFFF#000000##000000
##BB9EF91.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFD
Deuteranopia (green-blind)
#8CACF7
Tritanopia (blue-blind)
#AFADC0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9ef9;
/* rgb */ color: rgb(187, 158, 249);
/* oklch */ color: oklch(76.0% 0.131 297.9);
Tailwind
colors: {
  custom: {
    50: '#d1bbfb',
    500: '#bb9ef9',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ef9;
$custom-light: #d1bbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ef9",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 249
  },
  "hsl": {
    "h": 259.121,
    "s": 88.35,
    "l": 79.804
  },
  "oklch": {
    "l": 0.75954,
    "c": 0.13071,
    "h": 297.9
  },
  "luminance": 0.41858
}

Semantic roles & 50–950 ramp

primary
#BB9EF9
secondary
#EBF5D6
accent
#E5019C
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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