#BB9DFE#BB9DFE

#BB9DFE is a light, vivid violet. Relative luminance 0.418; OKLCH L 76.0% C 0.139 H 297.2°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#BB9DFE
RGBrgb(187, 157, 254)
HSLhsl(259, 98%, 81%)
HSVhsv(259, 38%, 100%)
CMYKcmyk(26.4%, 38.2%, 0%, 0.4%)
CIE-LABlab(70.76, 30.85, -44.28)
CIE-LCHlch(70.76, 53.97, 304.86°)
OKLaboklab(76.01% 0.0635 -0.1234)
OKLCHoklch(76.01% 0.139 297.2)
XYZxyz(50.4357, 41.8340, 99.1643)
Luminance0.4183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DFE #E0FE9D
analogous
#9DAFFE #BB9DFE #EC9DFE
triadic
#BB9DFE #FEBB9D #9DFEBB
tetradic
#BB9DFE #FE9DAF #E0FE9D #9DFEEC
square
#BB9DFE #FE9DAF #E0FE9D #9DFEEC
split-complementary
#BB9DFE #FEEC9D #AFFE9D
monochromatic
#6724FD #9160FD #BB9DFE #E5DAFF #EAE1FF

Accessibility & contrast

On white

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

On black

9.37
#BB9DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DFE
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DFE#FFFFFF#000000##000000
##BB9DFE1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ADFF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#AEAEC2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9dfe;
/* rgb */ color: rgb(187, 157, 254);
/* oklch */ color: oklch(76.0% 0.139 297.2);
Tailwind
colors: {
  custom: {
    50: '#d1baff',
    500: '#bb9dfe',
    950: '#000000',
  },
}
SCSS
$custom: #bb9dfe;
$custom-light: #d1baff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9dfe",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 258.557,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.76013,
    "c": 0.13882,
    "h": 297.2
  },
  "luminance": 0.41834
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB9DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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