#BB9DFF#BB9DFF

#BB9DFF is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.1% C 0.140 H 297.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#BB9DFF
RGBrgb(187, 157, 255)
HSLhsl(258, 100%, 81%)
HSVhsv(258, 38%, 100%)
CMYKcmyk(26.7%, 38.4%, 0%, 0%)
CIE-LABlab(70.80, 31.08, -44.76)
CIE-LCHlch(70.80, 54.49, 304.78°)
OKLaboklab(76.06% 0.0637 -0.1248)
OKLCHoklch(76.06% 0.14 297)
XYZxyz(50.5962, 41.8982, 100.0099)
Luminance0.4190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DFF #E1FF9D
analogous
#9DB0FF #BB9DFF #EC9DFF
triadic
#BB9DFF #FFBB9D #9DFFBB
tetradic
#BB9DFF #FF9DB0 #E1FF9D #9DFFEC
square
#BB9DFF #FF9DB0 #E1FF9D #9DFFEC
split-complementary
#BB9DFF #FFEC9D #B0FF9D
monochromatic
#6623FF #9160FF #BB9DFF #E5DAFF #EAE0FF

Accessibility & contrast

On white

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

On black

9.38
#BB9DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DFF
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DFF#FFFFFF#000000##000000
##BB9DFF1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#88ACFC
Tritanopia (blue-blind)
#ADAEC2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9dff;
/* rgb */ color: rgb(187, 157, 255);
/* oklch */ color: oklch(76.1% 0.140 297.0);
Tailwind
colors: {
  custom: {
    50: '#d1baff',
    500: '#bb9dff',
    950: '#000000',
  },
}
SCSS
$custom: #bb9dff;
$custom-light: #d1baff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9dff",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 255
  },
  "hsl": {
    "h": 258.367,
    "s": 100,
    "l": 80.784
  },
  "oklch": {
    "l": 0.76061,
    "c": 0.14013,
    "h": 297
  },
  "luminance": 0.41899
}

Semantic roles & 50–950 ramp

primary
#BB9DFF
secondary
#ECF7D4
accent
#E6009F
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB9DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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