#BB9EED#BB9EED

#BB9EED is a light, moderate violet. Relative luminance 0.411; OKLCH L 75.4% C 0.115 H 300.5°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#BB9EED
RGBrgb(187, 158, 237)
HSLhsl(262, 69%, 77%)
HSVhsv(262, 33%, 93%)
CMYKcmyk(21.1%, 33.3%, 0%, 7.1%)
CIE-LABlab(70.27, 26.33, -35.79)
CIE-LCHlch(70.27, 44.43, 306.35°)
OKLaboklab(75.4% 0.0584 -0.099)
OKLCHoklch(75.4% 0.115 300.5)
XYZxyz(48.0031, 41.1328, 85.5148)
Luminance0.4113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EED #D0ED9E
analogous
#9EA9ED #BB9EED #E29EED
triadic
#BB9EED #EDBB9E #9EEDBB
tetradic
#BB9EED #ED9EA9 #D0ED9E #9EEDE2
square
#BB9EED #ED9EA9 #D0ED9E #9EEDE2
split-complementary
#BB9EED #EDE29E #A9ED9E
monochromatic
#7337DA #976AE3 #BB9EED #DFD2F7 #EDE5FA

Accessibility & contrast

On white

2.28
#BB9EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#BB9EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EED
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EED#FFFFFF#000000##000000
##BB9EED1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABF0
Deuteranopia (green-blind)
#91ABEB
Tritanopia (blue-blind)
#B2AABB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9eed;
/* rgb */ color: rgb(187, 158, 237);
/* oklch */ color: oklch(75.4% 0.115 300.5);
Tailwind
colors: {
  custom: {
    50: '#d0bbf3',
    500: '#bb9eed',
    950: '#000000',
  },
}
SCSS
$custom: #bb9eed;
$custom-light: #d0bbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9eed",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 237
  },
  "hsl": {
    "h": 262.025,
    "s": 68.696,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75404,
    "c": 0.11493,
    "h": 300.5
  },
  "luminance": 0.41133
}

Semantic roles & 50–950 ramp

primary
#BB9EED
secondary
#E9F2D9
accent
#D1158C
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EED

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

Preview Lab → · Contrast checker → · Palette generator →

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