#BB9FF7#BB9FF7

#BB9FF7 is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.0% C 0.126 H 298.0°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#BB9FF7
RGBrgb(187, 159, 247)
HSLhsl(259, 85%, 80%)
HSVhsv(259, 36%, 97%)
CMYKcmyk(24.3%, 35.6%, 0%, 3.1%)
CIE-LABlab(70.92, 28.08, -40.22)
CIE-LCHlch(70.92, 49.05, 304.93°)
OKLaboklab(76.04% 0.0593 -0.1117)
OKLCHoklch(76.04% 0.126 298)
XYZxyz(49.6763, 42.0761, 93.4820)
Luminance0.4208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB9FF7 #DBF79F
analogous
#9FAFF7 #BB9FF7 #E79FF7
triadic
#BB9FF7 #F7BB9F #9FF7BB
tetradic
#BB9FF7 #F79FAF #DBF79F #9FF7E7
square
#BB9FF7 #F79FAF #DBF79F #9FF7E7
split-complementary
#BB9FF7 #F7E79F #AFF79F
monochromatic
#6B2EEE #9367F2 #BB9FF7 #E3D7FC #EBE3FD

Accessibility & contrast

On white

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

On black

9.42
#BB9FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB9FF7
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB9FF7#FFFFFF#000000##000000
##BB9FF71.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFA
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#AFAEC0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bb9ff7;
/* rgb */ color: rgb(187, 159, 247);
/* oklch */ color: oklch(76.0% 0.126 298.0);
Tailwind
colors: {
  custom: {
    50: '#d1bbfa',
    500: '#bb9ff7',
    950: '#000000',
  },
}
SCSS
$custom: #bb9ff7;
$custom-light: #d1bbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb9ff7",
  "rgb": {
    "r": 187,
    "g": 159,
    "b": 247
  },
  "hsl": {
    "h": 259.091,
    "s": 84.615,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76041,
    "c": 0.12649,
    "h": 298
  },
  "luminance": 0.42076
}

Semantic roles & 50–950 ramp

primary
#BB9FF7
secondary
#EBF5D6
accent
#E1049B
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141217
muted
#828185

Preview Lab

Preview with #BB9FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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