#BB9EE7#BB9EE7

#BB9EE7 is a light, moderate violet. Relative luminance 0.408; OKLCH L 75.1% C 0.107 H 302.1°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#BB9EE7
RGBrgb(187, 158, 231)
HSLhsl(264, 60%, 76%)
HSVhsv(264, 32%, 91%)
CMYKcmyk(19%, 31.6%, 0%, 9.4%)
CIE-LABlab(70.03, 24.98, -32.88)
CIE-LCHlch(70.03, 41.29, 307.22°)
OKLaboklab(75.14% 0.0569 -0.0907)
OKLCHoklch(75.14% 0.107 302.1)
XYZxyz(47.1412, 40.7880, 80.9752)
Luminance0.4079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EE7 #CAE79E
analogous
#9EA6E7 #BB9EE7 #E09EE7
triadic
#BB9EE7 #E7BB9E #9EE7BB
tetradic
#BB9EE7 #E79EA6 #CAE79E #9EE7E0
square
#BB9EE7 #E79EA6 #CAE79E #9EE7E0
split-complementary
#BB9EE7 #E7E09E #A6E79E
monochromatic
#763CCF #996DDB #BB9EE7 #DDCFF3 #EEE6F9

Accessibility & contrast

On white

2.29
#BB9EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#BB9EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EE7
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EE7#FFFFFF#000000##000000
##BB9EE71.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EABEA
Deuteranopia (green-blind)
#94ABE5
Tritanopia (blue-blind)
#B4A9B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9ee7;
/* rgb */ color: rgb(187, 158, 231);
/* oklch */ color: oklch(75.1% 0.107 302.1);
Tailwind
colors: {
  custom: {
    50: '#d0bbef',
    500: '#bb9ee7',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ee7;
$custom-light: #d0bbef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ee7",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 231
  },
  "hsl": {
    "h": 263.836,
    "s": 60.331,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7514,
    "c": 0.10706,
    "h": 302.1
  },
  "luminance": 0.40788
}

Semantic roles & 50–950 ramp

primary
#BB9EE7
secondary
#E8F0DB
accent
#C81D84
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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