#BB9FEF#BB9FEF

#BB9FEF is a light, moderate violet. Relative luminance 0.416; OKLCH L 75.7% C 0.116 H 299.7°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#BB9FEF
RGBrgb(187, 159, 239)
HSLhsl(261, 71%, 78%)
HSVhsv(261, 33%, 94%)
CMYKcmyk(21.8%, 33.5%, 0%, 6.3%)
CIE-LABlab(70.59, 26.23, -36.38)
CIE-LCHlch(70.59, 44.85, 305.79°)
OKLaboklab(75.68% 0.0575 -0.1007)
OKLCHoklch(75.68% 0.116 299.7)
XYZxyz(48.4682, 41.5929, 87.1194)
Luminance0.4159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FEF #D3EF9F
analogous
#9FABEF #BB9FEF #E39FEF
triadic
#BB9FEF #EFBB9F #9FEFBB
tetradic
#BB9FEF #EF9FAB #D3EF9F #9FEFE3
square
#BB9FEF #EF9FAB #D3EF9F #9FEFE3
split-complementary
#BB9FEF #EFE39F #ABEF9F
monochromatic
#7136DE #966BE6 #BB9FEF #E0D3F8 #ECE5FB

Accessibility & contrast

On white

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

On black

9.32
#BB9FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FEF
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FEF#FFFFFF#000000##000000
##BB9FEF1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#91ACED
Tritanopia (blue-blind)
#B2ACBC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9fef;
/* rgb */ color: rgb(187, 159, 239);
/* oklch */ color: oklch(75.7% 0.116 299.7);
Tailwind
colors: {
  custom: {
    50: '#d0bbf4',
    500: '#bb9fef',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fef;
$custom-light: #d0bbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fef",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 239
  },
  "hsl": {
    "h": 261,
    "s": 71.429,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75676,
    "c": 0.11595,
    "h": 299.7
  },
  "luminance": 0.41593
}

Semantic roles & 50–950 ramp

primary
#BB9FEF
secondary
#E9F2D9
accent
#D31290
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BB9FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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