#BB9FFE#BB9FFE

#BB9FFE is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.4% C 0.136 H 296.6°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#BB9FFE
RGBrgb(187, 159, 254)
HSLhsl(258, 98%, 81%)
HSVhsv(258, 37%, 100%)
CMYKcmyk(26.4%, 37.4%, 0%, 0.4%)
CIE-LABlab(71.23, 29.74, -43.55)
CIE-LCHlch(71.23, 52.73, 304.33°)
OKLaboklab(76.37% 0.0608 -0.1213)
OKLCHoklch(76.37% 0.136 296.6)
XYZxyz(50.7768, 42.5163, 99.2780)
Luminance0.4252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FFE #E2FE9F
analogous
#9FB2FE #BB9FFE #EA9FFE
triadic
#BB9FFE #FEBB9F #9FFEBB
tetradic
#BB9FFE #FE9FB2 #E2FE9F #9FFEEA
square
#BB9FFE #FE9FB2 #E2FE9F #9FFEEA
split-complementary
#BB9FFE #FEEA9F #B2FE9F
monochromatic
#6526FD #9062FD #BB9FFE #E6DCFF #EAE1FF

Accessibility & contrast

On white

2.21
#BB9FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#BB9FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FFE
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FFE#FFFFFF#000000##000000
##BB9FFE1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#8AADFC
Tritanopia (blue-blind)
#ADAFC3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bb9ffe;
/* rgb */ color: rgb(187, 159, 254);
/* oklch */ color: oklch(76.4% 0.136 296.6);
Tailwind
colors: {
  custom: {
    50: '#d1bbff',
    500: '#bb9ffe',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ffe;
$custom-light: #d1bbff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ffe",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 254
  },
  "hsl": {
    "h": 257.684,
    "s": 97.938,
    "l": 80.98
  },
  "oklch": {
    "l": 0.7637,
    "c": 0.13571,
    "h": 296.6
  },
  "luminance": 0.42517
}

Semantic roles & 50–950 ramp

primary
#BB9FFE
secondary
#EDF7D4
accent
#E600A2
background
#FDFBFF
surface
#FAF6FF
border
#D3D0D7
text
#141218
muted
#838186

Preview Lab

Preview with #BB9FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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