#BB9EEB#BB9EEB

#BB9EEB is a light, moderate violet. Relative luminance 0.410; OKLCH L 75.3% C 0.112 H 301.1°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#BB9EEB
RGBrgb(187, 158, 235)
HSLhsl(263, 66%, 77%)
HSVhsv(263, 33%, 92%)
CMYKcmyk(20.4%, 32.8%, 0%, 7.8%)
CIE-LABlab(70.19, 25.88, -34.82)
CIE-LCHlch(70.19, 43.38, 306.62°)
OKLaboklab(75.32% 0.0579 -0.0962)
OKLCHoklch(75.32% 0.112 301.1)
XYZxyz(47.7126, 41.0166, 83.9845)
Luminance0.4102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EEB #CEEB9E
analogous
#9EA8EB #BB9EEB #E19EEB
triadic
#BB9EEB #EBBB9E #9EEBBB
tetradic
#BB9EEB #EB9EA8 #CEEB9E #9EEBE1
square
#BB9EEB #EB9EA8 #CEEB9E #9EEBE1
split-complementary
#BB9EEB #EBE19E #A8EB9E
monochromatic
#7439D6 #976BE1 #BB9EEB #DFD1F5 #EDE6FA

Accessibility & contrast

On white

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

On black

9.20
#BB9EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EEB
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EEB#FFFFFF#000000##000000
##BB9EEB1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABEE
Deuteranopia (green-blind)
#92ABE9
Tritanopia (blue-blind)
#B3AABA
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9eeb;
/* rgb */ color: rgb(187, 158, 235);
/* oklch */ color: oklch(75.3% 0.112 301.1);
Tailwind
colors: {
  custom: {
    50: '#d0bbf1',
    500: '#bb9eeb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9eeb;
$custom-light: #d0bbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9eeb",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 235
  },
  "hsl": {
    "h": 262.597,
    "s": 65.812,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75315,
    "c": 0.1123,
    "h": 301.1
  },
  "luminance": 0.41017
}

Semantic roles & 50–950 ramp

primary
#BB9EEB
secondary
#E8F1DA
accent
#CE1889
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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