#BB9EFE#BB9EFE

#BB9EFE is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.2% C 0.137 H 296.9°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#BB9EFE
RGBrgb(187, 158, 254)
HSLhsl(258, 98%, 81%)
HSVhsv(258, 38%, 100%)
CMYKcmyk(26.4%, 37.8%, 0%, 0.4%)
CIE-LABlab(70.99, 30.29, -43.92)
CIE-LCHlch(70.99, 53.35, 304.60°)
OKLaboklab(76.19% 0.0622 -0.1224)
OKLCHoklch(76.19% 0.137 296.9)
XYZxyz(50.6056, 42.1738, 99.2210)
Luminance0.4217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EFE #E1FE9E
analogous
#9EB1FE #BB9EFE #EB9EFE
triadic
#BB9EFE #FEBB9E #9EFEBB
tetradic
#BB9EFE #FE9EB1 #E1FE9E #9EFEEB
square
#BB9EFE #FE9EB1 #E1FE9E #9EFEEB
split-complementary
#BB9EFE #FEEB9E #B1FE9E
monochromatic
#6625FD #9161FD #BB9EFE #E5DBFF #EAE1FF

Accessibility & contrast

On white

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

On black

9.43
#BB9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EFE
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EFE#FFFFFF#000000##000000
##BB9EFE1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#89ADFC
Tritanopia (blue-blind)
#ADAEC2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bb9efe;
/* rgb */ color: rgb(187, 158, 254);
/* oklch */ color: oklch(76.2% 0.137 296.9);
Tailwind
colors: {
  custom: {
    50: '#d1bbff',
    500: '#bb9efe',
    950: '#000000',
  },
}
SCSS
$custom: #bb9efe;
$custom-light: #d1bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9efe",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 258.125,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.76191,
    "c": 0.13727,
    "h": 296.9
  },
  "luminance": 0.42174
}

Semantic roles & 50–950 ramp

primary
#BB9EFE
secondary
#ECF7D4
accent
#E600A0
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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