#BB9DEB#BB9DEB

#BB9DEB is a light, moderate violet. Relative luminance 0.407; OKLCH L 75.1% C 0.114 H 301.4°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#BB9DEB
RGBrgb(187, 157, 235)
HSLhsl(263, 66%, 77%)
HSVhsv(263, 33%, 92%)
CMYKcmyk(20.4%, 33.2%, 0%, 7.8%)
CIE-LABlab(69.95, 26.43, -35.19)
CIE-LCHlch(69.95, 44.01, 306.91°)
OKLaboklab(75.13% 0.0593 -0.0973)
OKLCHoklch(75.13% 0.114 301.4)
XYZxyz(47.5427, 40.6768, 83.9279)
Luminance0.4068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DEB #CDEB9D
analogous
#9DA6EB #BB9DEB #E29DEB
triadic
#BB9DEB #EBBB9D #9DEBBB
tetradic
#BB9DEB #EB9DA6 #CDEB9D #9DEBE2
square
#BB9DEB #EB9DA6 #CDEB9D #9DEBE2
split-complementary
#BB9DEB #EBE29D #A6EB9D
monochromatic
#7437D6 #986AE1 #BB9DEB #DED0F5 #EDE6FA

Accessibility & contrast

On white

2.30
#BB9DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#BB9DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DEB
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DEB#FFFFFF#000000##000000
##BB9DEB1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CAAEE
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#B3A9B9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9deb;
/* rgb */ color: rgb(187, 157, 235);
/* oklch */ color: oklch(75.1% 0.114 301.4);
Tailwind
colors: {
  custom: {
    50: '#d0baf1',
    500: '#bb9deb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9deb;
$custom-light: #d0baf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9deb",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 263.077,
    "s": 66.102,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75133,
    "c": 0.11394,
    "h": 301.4
  },
  "luminance": 0.40677
}

Semantic roles & 50–950 ramp

primary
#BB9DEB
secondary
#E8F1DA
accent
#CE1888
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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