#BB9DF9#BB9DF9

#BB9DF9 is a light, vivid violet. Relative luminance 0.415; OKLCH L 75.8% C 0.132 H 298.2°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#BB9DF9
RGBrgb(187, 157, 249)
HSLhsl(260, 88%, 80%)
HSVhsv(260, 37%, 98%)
CMYKcmyk(24.9%, 36.9%, 0%, 2.4%)
CIE-LABlab(70.54, 29.67, -41.91)
CIE-LCHlch(70.54, 51.35, 305.29°)
OKLaboklab(75.78% 0.0625 -0.1166)
OKLCHoklch(75.78% 0.132 298.2)
XYZxyz(49.6454, 41.5179, 95.0024)
Luminance0.4152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DF9 #DBF99D
analogous
#9DADF9 #BB9DF9 #E99DF9
triadic
#BB9DF9 #F9BB9D #9DF9BB
tetradic
#BB9DF9 #F99DAD #DBF99D #9DF9E9
square
#BB9DF9 #F99DAD #DBF99D #9DF9E9
split-complementary
#BB9DF9 #F9E99D #ADF99D
monochromatic
#6B2AF2 #9363F5 #BB9DF9 #E3D7FD #EBE2FD

Accessibility & contrast

On white

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

On black

9.30
#BB9DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DF9
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DF9#FFFFFF#000000##000000
##BB9DF91.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFD
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#AFACBF
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bb9df9;
/* rgb */ color: rgb(187, 157, 249);
/* oklch */ color: oklch(75.8% 0.132 298.2);
Tailwind
colors: {
  custom: {
    50: '#d1bafb',
    500: '#bb9df9',
    950: '#000000',
  },
}
SCSS
$custom: #bb9df9;
$custom-light: #d1bafb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9df9",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 249
  },
  "hsl": {
    "h": 259.565,
    "s": 88.462,
    "l": 79.608
  },
  "oklch": {
    "l": 0.75775,
    "c": 0.13229,
    "h": 298.2
  },
  "luminance": 0.41518
}

Semantic roles & 50–950 ramp

primary
#BB9DF9
secondary
#EBF5D6
accent
#E5009B
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141117
muted
#838085

Preview Lab

Preview with #BB9DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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