#BB9EF8#BB9EF8

#BB9EF8 is a light, vivid violet. Relative luminance 0.418; OKLCH L 75.9% C 0.129 H 298.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#BB9EF8
RGBrgb(187, 158, 248)
HSLhsl(259, 87%, 80%)
HSVhsv(259, 36%, 97%)
CMYKcmyk(24.6%, 36.3%, 0%, 2.7%)
CIE-LABlab(70.73, 28.87, -41.07)
CIE-LCHlch(70.73, 50.20, 305.11°)
OKLaboklab(75.91% 0.0609 -0.1142)
OKLCHoklch(75.91% 0.129 298.1)
XYZxyz(49.6598, 41.7955, 94.2398)
Luminance0.4180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EF8 #DBF89E
analogous
#9EAEF8 #BB9EF8 #E89EF8
triadic
#BB9EF8 #F8BB9E #9EF8BB
tetradic
#BB9EF8 #F89EAE #DBF89E #9EF8E8
square
#BB9EF8 #F89EAE #DBF89E #9EF8E8
split-complementary
#BB9EF8 #F8E89E #AEF89E
monochromatic
#6B2CF0 #9365F4 #BB9EF8 #E3D7FC #EBE2FD

Accessibility & contrast

On white

2.24
#BB9EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#BB9EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EF8
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EF8#FFFFFF#000000##000000
##BB9EF81.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFC
Deuteranopia (green-blind)
#8CACF6
Tritanopia (blue-blind)
#AFADBF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9ef8;
/* rgb */ color: rgb(187, 158, 248);
/* oklch */ color: oklch(75.9% 0.129 298.1);
Tailwind
colors: {
  custom: {
    50: '#d1bbfb',
    500: '#bb9ef8',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ef8;
$custom-light: #d1bbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ef8",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 259.333,
    "s": 86.538,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75907,
    "c": 0.1294,
    "h": 298.1
  },
  "luminance": 0.41796
}

Semantic roles & 50–950 ramp

primary
#BB9EF8
secondary
#EBF5D6
accent
#E3029B
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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