#BB9DFC#BB9DFC

#BB9DFC is a light, vivid violet. Relative luminance 0.417; OKLCH L 75.9% C 0.136 H 297.6°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#BB9DFC
RGBrgb(187, 157, 252)
HSLhsl(259, 94%, 80%)
HSVhsv(259, 38%, 99%)
CMYKcmyk(25.8%, 37.7%, 0%, 1.2%)
CIE-LABlab(70.67, 30.37, -43.34)
CIE-LCHlch(70.67, 52.92, 305.03°)
OKLaboklab(75.92% 0.0631 -0.1207)
OKLCHoklch(75.92% 0.136 297.6)
XYZxyz(50.1171, 41.7066, 97.4864)
Luminance0.4171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9DFC #DEFC9D
analogous
#9DAFFC #BB9DFC #EA9DFC
triadic
#BB9DFC #FCBB9D #9DFCBB
tetradic
#BB9DFC #FC9DAF #DEFC9D #9DFCEA
square
#BB9DFC #FC9DAF #DEFC9D #9DFCEA
split-complementary
#BB9DFC #FCEA9D #AFFC9D
monochromatic
#6926F8 #9262FA #BB9DFC #E4D8FE #EAE1FE

Accessibility & contrast

On white

2.25
#BB9DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#BB9DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9DFC
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9DFC#FFFFFF#000000##000000
##BB9DFC1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#89ACFA
Tritanopia (blue-blind)
#AEADC1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9dfc;
/* rgb */ color: rgb(187, 157, 252);
/* oklch */ color: oklch(75.9% 0.136 297.6);
Tailwind
colors: {
  custom: {
    50: '#d1bafd',
    500: '#bb9dfc',
    950: '#000000',
  },
}
SCSS
$custom: #bb9dfc;
$custom-light: #d1bafd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9dfc",
  "rgb": {
    "r": 187,
    "g": 157,
    "b": 252
  },
  "hsl": {
    "h": 258.947,
    "s": 94.059,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75917,
    "c": 0.1362,
    "h": 297.6
  },
  "luminance": 0.41707
}

Semantic roles & 50–950 ramp

primary
#BB9DFC
secondary
#ECF6D5
accent
#E6009D
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141118
muted
#838086

Preview Lab

Preview with #BB9DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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