#BB9FEB#BB9FEB

#BB9FEB is a light, moderate violet. Relative luminance 0.414; OKLCH L 75.5% C 0.111 H 300.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#BB9FEB
RGBrgb(187, 159, 235)
HSLhsl(262, 66%, 77%)
HSVhsv(262, 32%, 92%)
CMYKcmyk(20.4%, 32.3%, 0%, 7.8%)
CIE-LABlab(70.43, 25.32, -34.45)
CIE-LCHlch(70.43, 42.75, 306.32°)
OKLaboklab(75.5% 0.0565 -0.0952)
OKLCHoklch(75.5% 0.111 300.7)
XYZxyz(47.8838, 41.3591, 84.0416)
Luminance0.4136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FEB #CFEB9F
analogous
#9FA9EB #BB9FEB #E19FEB
triadic
#BB9FEB #EBBB9F #9FEBBB
tetradic
#BB9FEB #EB9FA9 #CFEB9F #9FEBE1
square
#BB9FEB #EB9FA9 #CFEB9F #9FEBE1
split-complementary
#BB9FEB #EBE19F #A9EB9F
monochromatic
#733AD6 #976CE0 #BB9FEB #DFD2F6 #EDE6FA

Accessibility & contrast

On white

2.26
#BB9FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#BB9FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FEB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FEB#FFFFFF#000000##000000
##BB9FEB1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#B3ABBB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9feb;
/* rgb */ color: rgb(187, 159, 235);
/* oklch */ color: oklch(75.5% 0.111 300.7);
Tailwind
colors: {
  custom: {
    50: '#d0bbf1',
    500: '#bb9feb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9feb;
$custom-light: #d0bbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9feb",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 235
  },
  "hsl": {
    "h": 262.105,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75498,
    "c": 0.11068,
    "h": 300.7
  },
  "luminance": 0.41359
}

Semantic roles & 50–950 ramp

primary
#BB9FEB
secondary
#E9F1DA
accent
#CD188B
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BB9FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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