#BB9EE4#BB9EE4

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

Color values

HEX#BB9EE4
RGBrgb(187, 158, 228)
HSLhsl(265, 56%, 76%)
HSVhsv(265, 31%, 89%)
CMYKcmyk(18%, 30.7%, 0%, 10.6%)
CIE-LABlab(69.91, 24.31, -31.42)
CIE-LCHlch(69.91, 39.72, 307.73°)
OKLaboklab(75.01% 0.0562 -0.0865)
OKLCHoklch(75.01% 0.103 303)
XYZxyz(46.7211, 40.6200, 78.7628)
Luminance0.4062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EE4 #C7E49E
analogous
#9EA4E4 #BB9EE4 #DE9EE4
triadic
#BB9EE4 #E4BB9E #9EE4BB
tetradic
#BB9EE4 #E49EA4 #C7E49E #9EE4DE
square
#BB9EE4 #E49EA4 #C7E49E #9EE4DE
split-complementary
#BB9EE4 #E4DE9E #A4E49E
monochromatic
#783EC9 #996ED7 #BB9EE4 #DDCEF1 #EEE7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB9EE4#FFFFFF#000000##000000
##BB9EE41.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)
#8FAAE7
Deuteranopia (green-blind)
#95ABE2
Tritanopia (blue-blind)
#B4A8B7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9ee4;
/* rgb */ color: rgb(187, 158, 228);
/* oklch */ color: oklch(75.0% 0.103 303.0);
Tailwind
colors: {
  custom: {
    50: '#d0baec',
    500: '#bb9ee4',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ee4;
$custom-light: #d0baec;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ee4",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 228
  },
  "hsl": {
    "h": 264.857,
    "s": 56.452,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7501,
    "c": 0.10313,
    "h": 303
  },
  "luminance": 0.4062
}

Semantic roles & 50–950 ramp

primary
#BB9EE4
secondary
#E7F0DB
accent
#C42181
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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