#BB9FFB#BB9FFB

#BB9FFB is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.2% C 0.132 H 297.2°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#BB9FFB
RGBrgb(187, 159, 251)
HSLhsl(258, 92%, 80%)
HSVhsv(258, 37%, 98%)
CMYKcmyk(25.5%, 36.7%, 0%, 1.6%)
CIE-LABlab(71.09, 29.02, -42.12)
CIE-LCHlch(71.09, 51.16, 304.57°)
OKLaboklab(76.23% 0.0602 -0.1172)
OKLCHoklch(76.23% 0.132 297.2)
XYZxyz(50.3002, 42.3257, 96.7677)
Luminance0.4233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FFB #DFFB9F
analogous
#9FB1FB #BB9FFB #E99FFB
triadic
#BB9FFB #FBBB9F #9FFBBB
tetradic
#BB9FFB #FB9FB1 #DFFB9F #9FFBE9
square
#BB9FFB #FB9FB1 #DFFB9F #9FFBE9
split-complementary
#BB9FFB #FBE99F #B1FB9F
monochromatic
#6829F6 #9164F9 #BB9FFB #E5DAFD #EAE2FE

Accessibility & contrast

On white

2.22
#BB9FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#BB9FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FFB
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FFB#FFFFFF#000000##000000
##BB9FFB1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#8CADF9
Tritanopia (blue-blind)
#AEAFC1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bb9ffb;
/* rgb */ color: rgb(187, 159, 251);
/* oklch */ color: oklch(76.2% 0.132 297.2);
Tailwind
colors: {
  custom: {
    50: '#d1bbfd',
    500: '#bb9ffb',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ffb;
$custom-light: #d1bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ffb",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 251
  },
  "hsl": {
    "h": 258.261,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.76228,
    "c": 0.13176,
    "h": 297.2
  },
  "luminance": 0.42326
}

Semantic roles & 50–950 ramp

primary
#BB9FFB
secondary
#ECF6D5
accent
#E600A0
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141217
muted
#838185

Preview Lab

Preview with #BB9FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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