#BB9DEA#BB9DEA

#BB9DEA is a light, moderate violet. Relative luminance 0.406; OKLCH L 75.1% C 0.113 H 301.6°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#BB9DEA
RGBrgb(187, 157, 234)
HSLhsl(263, 65%, 77%)
HSVhsv(263, 33%, 92%)
CMYKcmyk(20.1%, 32.9%, 0%, 8.2%)
CIE-LABlab(69.91, 26.21, -34.71)
CIE-LCHlch(69.91, 43.49, 307.06°)
OKLaboklab(75.09% 0.0591 -0.0959)
OKLCHoklch(75.09% 0.113 301.6)
XYZxyz(47.3986, 40.6192, 83.1692)
Luminance0.4062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DEA #CCEA9D
analogous
#9DA6EA #BB9DEA #E29DEA
triadic
#BB9DEA #EABB9D #9DEABB
tetradic
#BB9DEA #EA9DA6 #CCEA9D #9DEAE2
square
#BB9DEA #EA9DA6 #CCEA9D #9DEAE2
split-complementary
#BB9DEA #EAE29D #A6EA9D
monochromatic
#7538D4 #986BDF #BB9DEA #DECFF5 #EEE6FA

Accessibility & contrast

On white

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

On black

9.12
#BB9DEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DEA
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DEA#FFFFFF#000000##000000
##BB9DEA1.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb9dea;
/* rgb */ color: rgb(187, 157, 234);
/* oklch */ color: oklch(75.1% 0.113 301.6);
Tailwind
colors: {
  custom: {
    50: '#d0baf1',
    500: '#bb9dea',
    950: '#000000',
  },
}
SCSS
$custom: #bb9dea;
$custom-light: #d0baf1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9dea",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 234
  },
  "hsl": {
    "h": 263.377,
    "s": 64.706,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75088,
    "c": 0.11263,
    "h": 301.6
  },
  "luminance": 0.40619
}

Semantic roles & 50–950 ramp

primary
#BB9DEA
secondary
#E8F1DA
accent
#CD1987
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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