#BB9EF4#BB9EF4

#BB9EF4 is a light, vivid violet. Relative luminance 0.415; OKLCH L 75.7% C 0.124 H 298.9°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#BB9EF4
RGBrgb(187, 158, 244)
HSLhsl(260, 80%, 79%)
HSVhsv(260, 35%, 96%)
CMYKcmyk(23.4%, 35.2%, 0%, 4.3%)
CIE-LABlab(70.56, 27.94, -39.15)
CIE-LCHlch(70.56, 48.10, 305.51°)
OKLaboklab(75.72% 0.06 -0.1086)
OKLCHoklch(75.72% 0.124 298.9)
XYZxyz(49.0458, 41.5499, 91.0064)
Luminance0.4155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9EF4 #D7F49E
analogous
#9EACF4 #BB9EF4 #E69EF4
triadic
#BB9EF4 #F4BB9E #9EF4BB
tetradic
#BB9EF4 #F49EAC #D7F49E #9EF4E6
square
#BB9EF4 #F49EAC #D7F49E #9EF4E6
split-complementary
#BB9EF4 #F4E69E #ACF49E
monochromatic
#6E30E8 #9467EE #BB9EF4 #E2D5FA #ECE4FC

Accessibility & contrast

On white

2.26
#BB9EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#BB9EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9EF4
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9EF4#FFFFFF#000000##000000
##BB9EF41.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ADF7
Deuteranopia (green-blind)
#8EACF2
Tritanopia (blue-blind)
#B0ACBE
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9ef4;
/* rgb */ color: rgb(187, 158, 244);
/* oklch */ color: oklch(75.7% 0.124 298.9);
Tailwind
colors: {
  custom: {
    50: '#d1bbf8',
    500: '#bb9ef4',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ef4;
$custom-light: #d1bbf8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ef4",
  "rgb": {
    "r": 187,
    "g": 158,
    "b": 244
  },
  "hsl": {
    "h": 260.233,
    "s": 79.63,
    "l": 78.824
  },
  "oklch": {
    "l": 0.75721,
    "c": 0.12414,
    "h": 298.9
  },
  "luminance": 0.4155
}

Semantic roles & 50–950 ramp

primary
#BB9EF4
secondary
#EAF4D7
accent
#DC0A95
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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