#BB9EEF#BB9EEF

#BB9EEF is a light, moderate violet. Relative luminance 0.413; OKLCH L 75.5% C 0.118 H 300.1°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#BB9EEF
RGBrgb(187, 158, 239)
HSLhsl(261, 72%, 78%)
HSVhsv(261, 34%, 94%)
CMYKcmyk(21.8%, 33.9%, 0%, 6.3%)
CIE-LABlab(70.35, 26.79, -36.75)
CIE-LCHlch(70.35, 45.48, 306.09°)
OKLaboklab(75.49% 0.0589 -0.1017)
OKLCHoklch(75.49% 0.118 300.1)
XYZxyz(48.2970, 41.2503, 87.0623)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EEF #D2EF9E
analogous
#9EAAEF #BB9EEF #E39EEF
triadic
#BB9EEF #EFBB9E #9EEFBB
tetradic
#BB9EEF #EF9EAA #D2EF9E #9EEFE3
square
#BB9EEF #EF9EAA #D2EF9E #9EEFE3
split-complementary
#BB9EEF #EFE39E #AAEF9E
monochromatic
#7135DE #9669E6 #BB9EEF #E0D3F8 #EDE5FB

Accessibility & contrast

On white

2.27
#BB9EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#BB9EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EEF
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EEF#FFFFFF#000000##000000
##BB9EEF1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#90ACED
Tritanopia (blue-blind)
#B2ABBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9eef;
/* rgb */ color: rgb(187, 158, 239);
/* oklch */ color: oklch(75.5% 0.118 300.1);
Tailwind
colors: {
  custom: {
    50: '#d0bbf4',
    500: '#bb9eef',
    950: '#000000',
  },
}
SCSS
$custom: #bb9eef;
$custom-light: #d0bbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9eef",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 239
  },
  "hsl": {
    "h": 261.481,
    "s": 71.681,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75494,
    "c": 0.11756,
    "h": 300.1
  },
  "luminance": 0.41251
}

Semantic roles & 50–950 ramp

primary
#BB9EEF
secondary
#E9F2D9
accent
#D4128E
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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