#BB9DF6#BB9DF6

#BB9DF6 is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.6% C 0.128 H 298.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#BB9DF6
RGBrgb(187, 157, 246)
HSLhsl(260, 83%, 79%)
HSVhsv(260, 36%, 96%)
CMYKcmyk(24%, 36.2%, 0%, 3.5%)
CIE-LABlab(70.41, 28.96, -40.48)
CIE-LCHlch(70.41, 49.77, 305.58°)
OKLaboklab(75.63% 0.0619 -0.1125)
OKLCHoklch(75.63% 0.128 298.8)
XYZxyz(49.1813, 41.3323, 92.5578)
Luminance0.4133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DF6 #D8F69D
analogous
#9DACF6 #BB9DF6 #E89DF6
triadic
#BB9DF6 #F6BB9D #9DF6BB
tetradic
#BB9DF6 #F69DAC #D8F69D #9DF6E8
square
#BB9DF6 #F69DAC #D8F69D #9DF6E8
split-complementary
#BB9DF6 #F6E89D #ACF69D
monochromatic
#6D2DEC #9465F1 #BB9DF6 #E2D5FB #ECE3FC

Accessibility & contrast

On white

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

On black

9.27
#BB9DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DF6
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DF6#FFFFFF#000000##000000
##BB9DF61.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ACF9
Deuteranopia (green-blind)
#8CABF4
Tritanopia (blue-blind)
#B0ACBE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9df6;
/* rgb */ color: rgb(187, 157, 246);
/* oklch */ color: oklch(75.6% 0.128 298.8);
Tailwind
colors: {
  custom: {
    50: '#d1baf9',
    500: '#bb9df6',
    950: '#000000',
  },
}
SCSS
$custom: #bb9df6;
$custom-light: #d1baf9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9df6",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 246
  },
  "hsl": {
    "h": 260.225,
    "s": 83.178,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75634,
    "c": 0.12835,
    "h": 298.8
  },
  "luminance": 0.41333
}

Semantic roles & 50–950 ramp

primary
#BB9DF6
secondary
#EAF4D7
accent
#E00696
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #BB9DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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