#BB9FF6#BB9FF6

#BB9FF6 is a light, vivid violet. Relative luminance 0.420; OKLCH L 76.0% C 0.125 H 298.2°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#BB9FF6
RGBrgb(187, 159, 246)
HSLhsl(259, 83%, 79%)
HSVhsv(259, 35%, 96%)
CMYKcmyk(24%, 35.4%, 0%, 3.5%)
CIE-LABlab(70.88, 27.85, -39.74)
CIE-LCHlch(70.88, 48.53, 305.02°)
OKLaboklab(75.99% 0.0591 -0.1103)
OKLCHoklch(75.99% 0.125 298.2)
XYZxyz(49.5224, 42.0146, 92.6715)
Luminance0.4202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FF6 #DAF69F
analogous
#9FAFF6 #BB9FF6 #E69FF6
triadic
#BB9FF6 #F6BB9F #9FF6BB
tetradic
#BB9FF6 #F69FAF #DAF69F #9FF6E6
square
#BB9FF6 #F69FAF #DAF69F #9FF6E6
split-complementary
#BB9FF6 #F6E69F #AFF69F
monochromatic
#6C2FEC #9367F1 #BB9FF6 #E3D7FB #EBE3FC

Accessibility & contrast

On white

2.23
#BB9FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#BB9FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FF6
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FF6#FFFFFF#000000##000000
##BB9FF61.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEF9
Deuteranopia (green-blind)
#8EADF4
Tritanopia (blue-blind)
#B0ADBF
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bb9ff6;
/* rgb */ color: rgb(187, 159, 246);
/* oklch */ color: oklch(76.0% 0.125 298.2);
Tailwind
colors: {
  custom: {
    50: '#d1bbf9',
    500: '#bb9ff6',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ff6;
$custom-light: #d1bbf9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ff6",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 246
  },
  "hsl": {
    "h": 259.31,
    "s": 82.857,
    "l": 79.412
  },
  "oklch": {
    "l": 0.75994,
    "c": 0.12518,
    "h": 298.2
  },
  "luminance": 0.42015
}

Semantic roles & 50–950 ramp

primary
#BB9FF6
secondary
#EBF4D7
accent
#DF0699
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #BB9FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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