#BB9DF4#BB9DF4

#BB9DF4 is a light, vivid violet. Relative luminance 0.412; OKLCH L 75.5% C 0.126 H 299.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#BB9DF4
RGBrgb(187, 157, 244)
HSLhsl(261, 80%, 79%)
HSVhsv(261, 36%, 96%)
CMYKcmyk(23.4%, 35.7%, 0%, 4.3%)
CIE-LABlab(70.32, 28.50, -39.52)
CIE-LCHlch(70.32, 48.73, 305.79°)
OKLaboklab(75.54% 0.0614 -0.1097)
OKLCHoklch(75.54% 0.126 299.2)
XYZxyz(48.8760, 41.2101, 90.9498)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DF4 #D6F49D
analogous
#9DAAF4 #BB9DF4 #E79DF4
triadic
#BB9DF4 #F4BB9D #9DF4BB
tetradic
#BB9DF4 #F49DAA #D6F49D #9DF4E7
square
#BB9DF4 #F49DAA #D6F49D #9DF4E7
split-complementary
#BB9DF4 #F4E79D #AAF49D
monochromatic
#6F2FE8 #9566EE #BB9DF4 #E1D4FA #ECE3FC

Accessibility & contrast

On white

2.27
#BB9DF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#BB9DF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DF4
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DF4#FFFFFF#000000##000000
##BB9DF41.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ACF7
Deuteranopia (green-blind)
#8DABF2
Tritanopia (blue-blind)
#B0ABBD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9df4;
/* rgb */ color: rgb(187, 157, 244);
/* oklch */ color: oklch(75.5% 0.126 299.2);
Tailwind
colors: {
  custom: {
    50: '#d1baf8',
    500: '#bb9df4',
    950: '#000000',
  },
}
SCSS
$custom: #bb9df4;
$custom-light: #d1baf8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9df4",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 244
  },
  "hsl": {
    "h": 260.69,
    "s": 79.817,
    "l": 78.627
  },
  "oklch": {
    "l": 0.75541,
    "c": 0.12573,
    "h": 299.2
  },
  "luminance": 0.4121
}

Semantic roles & 50–950 ramp

primary
#BB9DF4
secondary
#EAF4D7
accent
#DC0993
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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