#BB9FEE#BB9FEE

#BB9FEE is a light, moderate violet. Relative luminance 0.415; OKLCH L 75.6% C 0.115 H 300.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#BB9FEE
RGBrgb(187, 159, 238)
HSLhsl(261, 70%, 78%)
HSVhsv(261, 33%, 93%)
CMYKcmyk(21.4%, 33.2%, 0%, 6.7%)
CIE-LABlab(70.55, 26.00, -35.90)
CIE-LCHlch(70.55, 44.33, 305.92°)
OKLaboklab(75.63% 0.0573 -0.0993)
OKLCHoklch(75.63% 0.115 300)
XYZxyz(48.3209, 41.5339, 86.3435)
Luminance0.4153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FEE #D2EE9F
analogous
#9FAAEE #BB9FEE #E39FEE
triadic
#BB9FEE #EEBB9F #9FEEBB
tetradic
#BB9FEE #EE9FAA #D2EE9F #9FEEE3
square
#BB9FEE #EE9FAA #D2EE9F #9FEEE3
split-complementary
#BB9FEE #EEE39F #AAEE9F
monochromatic
#7137DC #966BE5 #BB9FEE #E0D3F7 #EDE5FA

Accessibility & contrast

On white

2.26
#BB9FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#BB9FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FEE
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FEE#FFFFFF#000000##000000
##BB9FEE1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF1
Deuteranopia (green-blind)
#92ACEC
Tritanopia (blue-blind)
#B2ACBC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9fee;
/* rgb */ color: rgb(187, 159, 238);
/* oklch */ color: oklch(75.6% 0.115 300.0);
Tailwind
colors: {
  custom: {
    50: '#d0bbf4',
    500: '#bb9fee',
    950: '#000000',
  },
}
SCSS
$custom: #bb9fee;
$custom-light: #d0bbf4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9fee",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 238
  },
  "hsl": {
    "h": 261.266,
    "s": 69.912,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75631,
    "c": 0.11463,
    "h": 300
  },
  "luminance": 0.41534
}

Semantic roles & 50–950 ramp

primary
#BB9FEE
secondary
#E9F2D9
accent
#D2148E
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141217
muted
#828185

Preview Lab

Preview with #BB9FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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