#BB9EEA#BB9EEA

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

Color values

HEX#BB9EEA
RGBrgb(187, 158, 234)
HSLhsl(263, 64%, 77%)
HSVhsv(263, 32%, 92%)
CMYKcmyk(20.1%, 32.5%, 0%, 8.2%)
CIE-LABlab(70.15, 25.65, -34.33)
CIE-LCHlch(70.15, 42.86, 306.76°)
OKLaboklab(75.27% 0.0577 -0.0948)
OKLCHoklch(75.27% 0.111 301.3)
XYZxyz(47.5685, 40.9590, 83.2258)
Luminance0.4096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EEA #CDEA9E
analogous
#9EA7EA #BB9EEA #E19EEA
triadic
#BB9EEA #EABB9E #9EEABB
tetradic
#BB9EEA #EA9EA7 #CDEA9E #9EEAE1
square
#BB9EEA #EA9EA7 #CDEA9E #9EEAE1
split-complementary
#BB9EEA #EAE19E #A7EA9E
monochromatic
#7439D4 #986CDF #BB9EEA #DED0F5 #EDE6FA

Accessibility & contrast

On white

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

On black

9.19
#BB9EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EEA
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EEA#FFFFFF#000000##000000
##BB9EEA1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABED
Deuteranopia (green-blind)
#92ABE8
Tritanopia (blue-blind)
#B3AABA
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9eea;
/* rgb */ color: rgb(187, 158, 234);
/* oklch */ color: oklch(75.3% 0.111 301.3);
Tailwind
colors: {
  custom: {
    50: '#d0bbf1',
    500: '#bb9eea',
    950: '#000000',
  },
}
SCSS
$custom: #bb9eea;
$custom-light: #d0bbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9eea",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 234
  },
  "hsl": {
    "h": 262.895,
    "s": 64.407,
    "l": 76.863
  },
  "oklch": {
    "l": 0.75271,
    "c": 0.11099,
    "h": 301.3
  },
  "luminance": 0.40959
}

Semantic roles & 50–950 ramp

primary
#BB9EEA
secondary
#E8F1DA
accent
#CC1988
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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