#BB9CEB#BB9CEB

#BB9CEB is a light, moderate violet. Relative luminance 0.403; OKLCH L 75.0% C 0.116 H 301.7°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#BB9CEB
RGBrgb(187, 156, 235)
HSLhsl(264, 66%, 77%)
HSVhsv(264, 34%, 92%)
CMYKcmyk(20.4%, 33.6%, 0%, 7.8%)
CIE-LABlab(69.71, 26.99, -35.56)
CIE-LCHlch(69.71, 44.64, 307.20°)
OKLaboklab(74.95% 0.0608 -0.0983)
OKLCHoklch(74.95% 0.116 301.7)
XYZxyz(47.3742, 40.3398, 83.8717)
Luminance0.4034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9CEB #CCEB9C
analogous
#9CA5EB #BB9CEB #E39CEB
triadic
#BB9CEB #EBBB9C #9CEBBB
tetradic
#BB9CEB #EB9CA5 #CCEB9C #9CEBE3
square
#BB9CEB #EB9CA5 #CCEB9C #9CEBE3
split-complementary
#BB9CEB #EBE39C #A5EB9C
monochromatic
#7536D6 #9869E1 #BB9CEB #DECFF5 #EEE6FA

Accessibility & contrast

On white

2.32
#BB9CEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#BB9CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9CEB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9CEB#FFFFFF#000000##000000
##BB9CEB1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEE
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#B3A8B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bb9ceb;
/* rgb */ color: rgb(187, 156, 235);
/* oklch */ color: oklch(75.0% 0.116 301.7);
Tailwind
colors: {
  custom: {
    50: '#d0b9f1',
    500: '#bb9ceb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ceb;
$custom-light: #d0b9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ceb",
  "rgb": {
    "r": 187,
    "g": 156,
    "b": 235
  },
  "hsl": {
    "h": 263.544,
    "s": 66.387,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74951,
    "c": 0.11557,
    "h": 301.7
  },
  "luminance": 0.4034
}

Semantic roles & 50–950 ramp

primary
#BB9CEB
secondary
#E8F1DA
accent
#CE1786
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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