#BB9EFF#BB9EFF

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

Color values

HEX#BB9EFF
RGBrgb(187, 158, 255)
HSLhsl(258, 100%, 81%)
HSVhsv(258, 38%, 100%)
CMYKcmyk(26.7%, 38%, 0%, 0%)
CIE-LABlab(71.03, 30.53, -44.39)
CIE-LCHlch(71.03, 53.87, 304.52°)
OKLaboklab(76.24% 0.0624 -0.1237)
OKLCHoklch(76.24% 0.139 296.7)
XYZxyz(50.7661, 42.2380, 100.0665)
Luminance0.4224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EFF #E2FF9E
analogous
#9EB1FF #BB9EFF #EB9EFF
triadic
#BB9EFF #FFBB9E #9EFFBB
tetradic
#BB9EFF #FF9EB1 #E2FF9E #9EFFEB
square
#BB9EFF #FF9EB1 #E2FF9E #9EFFEB
split-complementary
#BB9EFF #FFEB9E #B1FF9E
monochromatic
#6524FF #9061FF #BB9EFF #E6DBFF #EAE0FF

Accessibility & contrast

On white

2.22
#BB9EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#BB9EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EFF
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EFF#FFFFFF#000000##000000
##BB9EFF1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb9eff;
/* rgb */ color: rgb(187, 158, 255);
/* oklch */ color: oklch(76.2% 0.139 296.7);
Tailwind
colors: {
  custom: {
    50: '#d1bbff',
    500: '#bb9eff',
    950: '#000000',
  },
}
SCSS
$custom: #bb9eff;
$custom-light: #d1bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9eff",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 257.938,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.76239,
    "c": 0.13857,
    "h": 296.7
  },
  "luminance": 0.42239
}

Semantic roles & 50–950 ramp

primary
#BB9EFF
secondary
#EDF7D4
accent
#E600A1
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB9EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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