#BB9EE5#BB9EE5

#BB9EE5 is a light, moderate violet. Relative luminance 0.407; OKLCH L 75.1% C 0.104 H 302.7°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#BB9EE5
RGBrgb(187, 158, 229)
HSLhsl(265, 58%, 76%)
HSVhsv(265, 31%, 90%)
CMYKcmyk(18.3%, 31%, 0%, 10.2%)
CIE-LABlab(69.95, 24.53, -31.90)
CIE-LCHlch(69.95, 40.24, 307.55°)
OKLaboklab(75.05% 0.0564 -0.0879)
OKLCHoklch(75.05% 0.104 302.7)
XYZxyz(46.8603, 40.6757, 79.4960)
Luminance0.4068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EE5 #C8E59E
analogous
#9EA4E5 #BB9EE5 #DE9EE5
triadic
#BB9EE5 #E5BB9E #9EE5BB
tetradic
#BB9EE5 #E59EA4 #C8E59E #9EE5DE
square
#BB9EE5 #E59EA4 #C8E59E #9EE5DE
split-complementary
#BB9EE5 #E5DE9E #A4E59E
monochromatic
#773DCB #996ED8 #BB9EE5 #DDCEF2 #EEE7F9

Accessibility & contrast

On white

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

On black

9.14
#BB9EE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EE5
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EE5#FFFFFF#000000##000000
##BB9EE51.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAAE8
Deuteranopia (green-blind)
#94ABE3
Tritanopia (blue-blind)
#B4A9B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bb9ee5;
/* rgb */ color: rgb(187, 158, 229);
/* oklch */ color: oklch(75.1% 0.104 302.7);
Tailwind
colors: {
  custom: {
    50: '#d0baed',
    500: '#bb9ee5',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ee5;
$custom-light: #d0baed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ee5",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 229
  },
  "hsl": {
    "h": 264.507,
    "s": 57.724,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75053,
    "c": 0.10444,
    "h": 302.7
  },
  "luminance": 0.40676
}

Semantic roles & 50–950 ramp

primary
#BB9EE5
secondary
#E7F0DB
accent
#C52082
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BB9EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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