#BB9EF5#BB9EF5

#BB9EF5 is a light, vivid violet. Relative luminance 0.416; OKLCH L 75.8% C 0.125 H 298.7°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#BB9EF5
RGBrgb(187, 158, 245)
HSLhsl(260, 81%, 79%)
HSVhsv(260, 36%, 96%)
CMYKcmyk(23.7%, 35.5%, 0%, 3.9%)
CIE-LABlab(70.60, 28.17, -39.63)
CIE-LCHlch(70.60, 48.63, 305.41°)
OKLaboklab(75.77% 0.0603 -0.11)
OKLCHoklch(75.77% 0.125 298.7)
XYZxyz(49.1981, 41.6108, 91.8083)
Luminance0.4161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EF5 #D8F59E
analogous
#9EADF5 #BB9EF5 #E79EF5
triadic
#BB9EF5 #F5BB9E #9EF5BB
tetradic
#BB9EF5 #F59EAD #D8F59E #9EF5E7
square
#BB9EF5 #F59EAD #D8F59E #9EF5E7
split-complementary
#BB9EF5 #F5E79E #ADF59E
monochromatic
#6D2FEA #9467EF #BB9EF5 #E2D5FB #ECE3FC

Accessibility & contrast

On white

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

On black

9.32
#BB9EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EF5
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EF5#FFFFFF#000000##000000
##BB9EF51.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ADF8
Deuteranopia (green-blind)
#8EACF3
Tritanopia (blue-blind)
#B0ACBE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9ef5;
/* rgb */ color: rgb(187, 158, 245);
/* oklch */ color: oklch(75.8% 0.125 298.7);
Tailwind
colors: {
  custom: {
    50: '#d1bbf8',
    500: '#bb9ef5',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ef5;
$custom-light: #d1bbf8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ef5",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 245
  },
  "hsl": {
    "h": 260,
    "s": 81.308,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75768,
    "c": 0.12545,
    "h": 298.7
  },
  "luminance": 0.41611
}

Semantic roles & 50–950 ramp

primary
#BB9EF5
secondary
#EAF4D7
accent
#DE0896
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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